Concept

How can you compute a substring in PHP?

ComputerScienceOne / String Functions

"PHP provides a simple function, substr() to compute a substring of a string. It takes at at least 2 arguments: the string to operate on and the starting index. There is a third, optional parameter that allows you to specify the length of the resulting substring."

Related Ideas