toLowerCase(): returns lowercase representation of a string.toUpperCase(): returns uppercase of a string.replaceAll(): returns string by replacing all matching patterns.replace(): replaces a substring/pattern in the string.concat (): concatenates the arguments to the calling string.slice(): extracts and returns a section of the string.substring()/substr(): return a specified part of the string.split(): returns the string divided into list of substring.padEnd(): pads a string at the end to a given length.padStart(): pads a string at the start to a given length.trimEnd(): removes whitespace from the end of a string.trimStart(): removes whitespace from the beginning of a string.trim(): removes whitespace from both ends of a string.matchAll(): returns iterator of results matching with a regex.match(): returns result of matching string with a regex.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |