String
String class is used for processing a general string. If a string is substituted for a variables, it is stored as a String Class.
length
Return the length of the string.
charAt(pos)
Returns the character at index.
charCodeAt(pos)
Returns the Unicode value.
concat([string1 [, string2 [, ...]]])
Joins Strings
fromCharCode([char0 [, char1 [, ...]]])
Creates a string from the supplied unicode integers.
indexOf(searchString [, position])
Finds position of a string.
lastIndexOf(searchString [, position])
Finds position of a string from last.
localeCompare(that)
Compares two strings according to a locale rules.
match(regexp)
Does a pattern search on a string. "regexp" encloses by "/" such as "match (/abc/)". If "i" is finally attached such as "match (/abc/i)", it does not differentiate a uppercase and a lowercase. If "g" is finally attached such as "match (/abc/g)", all the congruous strings are returned by comma separated values. The string will be returned if there is a string which was congruous with condition.
slice(start, end)
Extracts a substring starting at the index.
split(separator [, limit])
Split a string into an array of substrings and returns the new array.
substring(start, end)
Extracts the characters from a string, between two specified indices.
toLowerCase()
Converts a string to lowercase letters.
toLocaleLowerCase()
Converts a string to lowercase letters according to a locale rules.
toUpperCase()
Converts a string to uppercase letters.
toLocaleUpperCase()
Converts a string to uppercase letters according to a locale rules.