String
.legth() - หาขนาดหรือความยาวของstring
.charAt() - สมาชิกของstring
.indexOf() - หาตำแหน่งของสมาชิกของstring
.lastIndexOf() - หาตำแหน่งของสมาชิกของstringตำแหน่งสุดท้าย
+ - เอาstringมาต่อกัน
+= - เอาstringมาต่อกันแล้วเก็บไว้ที่ตัวหน้า
.concat() เอาstringมารวมกัน
.substring() - หาstringย่อยในstringหลัก
.replace() - เปลี่ยนแปลงstring
.replaceAll() - เปลี่ยนแปลงstring
.trim() - ทำให้เล็กลง
.toLowerCase() - เปลี่ยนค่าในstringให้เป็นตัวเล็ก
.toUpperCase() - เปลี่ยนค่าในstringให้เป็นตัวใหญ่
Subscribe to:
Post Comments (Atom)
1 comment:
Hello. This post is likeable, and your blog is very interesting, congratulations :-). I will add in my blogroll =). If possible gives a last there on my blog, it is about the DVD e CD, I hope you enjoy. The address is http://dvd-e-cd.blogspot.com. A hug.
Post a Comment