Built-In Namespace String
| Method Attributes | Method Name and Description |
|---|---|
|
left(x)
Returns x number of characters in the current string from the left
|
|
|
repeat(x)
Repeat this string x number of times
|
|
|
reverse()
Reverse this string
|
|
|
right(x)
Returns x number of characters in the current string from the right
|
Method Detail
{String}
left(x)
Returns x number of characters in the current string from the left
Defined in: SS.core.js.
Defined in: SS.core.js.
- Parameters:
- {Integer} x
- Number of characters from the left
- Returns:
- {String} Characters from the position 0 to x of this string
{String}
repeat(x)
Repeat this string x number of times
Defined in: SS.core.js.
Defined in: SS.core.js.
- Parameters:
- {Integer} x
- Number of times to repeat this string
- Returns:
- {String} Repeated copy of this string
{String}
reverse()
Reverse this string
Defined in: SS.core.js.
Defined in: SS.core.js.
- Since:
- v1.0.8.20090930
- Returns:
- {String} Reversed string
{String}
right(x)
Returns x number of characters in the current string from the right
Defined in: SS.core.js.
Defined in: SS.core.js.
- Parameters:
- {Integer} x
- Number of characters from the right
- Returns:
- {String} Characters from the position string.length to x of this string
