About String Handler in String Handler
|
|
Contains various functions to make strings easier to manage.
Explode(delimiter) alias of Split()
Implode(list,character) alias of Join()
Insert(string,index) inserts a string into another string at the given index.
Join(list,delimter) returns a string of delimited text based on the passed list and delimiter.
LTrim() trims all left-hand whitespace from the string.
RTrim() trims all right-hand whitespace from the string.
Remove(index,length) remove characters from a string based on the starting position and cutting length.
Replace(find,replace) replaces one string with another inside of the parent string.
Split(delimiter) splits a string into a list based on the delimiter.
Strip() removes all spaces from the string.
Trim() trims all whitespace from the beginning and the end of the string.
|