Javascript String methods
Slice
Slice extracts a part of a string and returns the extracted part in a new string.
The method takes 2 parameters: start position, and end position.
Length
Returns the length of a string.
Replace
Replace method replaces a specified value with another value in a string.
ToLowerCase & ToUpperCase
A string is converted to upper case with toUpperCase.
A string is converted to lower case with toLowerCase.
Concat
Concat joins two or more strings.
Trim
The trim method removes whitespace from both sides of a string.
CharAt
The CharAt method returns the character at a specified index (position) in a string.
__________________
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|