Quick Reference
Checks (True / False) 1
| contains() | Checks whether the string contains a given string. |
Checks (True / False)
contains
method sourceString.prototype.contains(string)
Checks whether the string contains a given string.
Details
Checks whether the string contains a given string.
Other
format
method sourceString.prototype.format()
Replaces %1, %2 and so on in the string to the arguments.
Details
Replaces %1, %2 and so on in the string to the arguments.
padZero
method sourceString.prototype.padZero(length)
Makes a number string with leading zeros.
Details
Makes a number string with leading zeros.