String
String.toBytes(target:String)
Bytes
To convert a given string into a byte array, and returns it.
String.length(target:String)
Number
Returns the length of the string.
String.substr(target:String, index:Number, length:Number)
String
Returns the substring of the given string at an index and a length.
String.toArray(target:String)
Array
To convert the String into an Array of Numbers that represent each Character in the String.
String.fromArray(target:Array)
String
To convert a given Array into a String, each number represents a Character.
String.toUpper(target:String)
String
Returns a new string with all characters in uppercase.
String.toLower(target:String)
String
Returns a new string with all characters in lowercase.
String.indexOf(target:String, ch:Number)
Number
Returns the index of the first occurence of the character or -1 if not found.
Last updated