loop through each element of the array and capitalize the first letter.Īrr = arr.charAt(0).toUpperCase() arr. split the above string into an array of strings Example: this tutorial we are going to look at some of the most common functions and operators. Capitalize the first letter of a string String variables are used for values that contains character strings.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |