[Added] PHP nuStringLeft(), nuStringRight()
Posted: Thu Oct 28, 2021 6:53 am
Using the nuStringLeft() function, you can extract a specified number of characters starting from the beginning of a string.
Example:
will return the string 'hello';
Using the nuStringRight() function, you can extract a specified number of characters starting from the end of a text string.
Example:
will return the string 'nuBuilder';
Example:
Code: Select all
nuStringLeft('hello nuBuilder', 5)
will return the string 'hello';
Using the nuStringRight() function, you can extract a specified number of characters starting from the end of a text string.
Example:
Code: Select all
nuStringRight('hello nuBuilder', 9)
will return the string 'nuBuilder';