JavaScript String Method's
trim()
toUpperCase() charAt()
concat() indexOf() lastIndexOf()
replace() split()
01 trim()
trim() - removes whitespace from the beginning
and end of a strings.
02 toUpperCase()
toUpperCase() - converts a string to all
uppercase letters.
03 toLowerCase()
toLowerCase() - converts a string to all
lowercase letters.
04 charAt()
charAt() - returns the character at a specific
index in a string.
05 concat()
concat() - concatenates two or more strings.
06 indexOf()
indexOf() - returns the index of the first
occurrence of a specified substring in a string.
07 lastIndexOf()
lastIndexOf() - returns the index of the last
occurrence of a specified substring in a string.
08 slice()
slice() - extracts a section of a string and
returns it as a new string.
09 replace()
replace() - replaces a specified substring with
another substring.
10 split()
split() - splits a string into an array of
substrings based on a specified delimiter
for more!!