Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- string = "abc";
- ucfirst("string") (PHP) return("Abc"); in ký tự đầu tiên trong chuỗi thành chữ in hoa.
- string.toUpperCase() (JQ) return("ABC"); in toàn chuỗi thành chữ hoa.
- string.charAt(0) (JQ) return("A"); lấy ký tự đầu tiên trong chuỗi.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement