substr in php

If you know where the data that you are interested in lies in a larger string, you can copy it out with the substr() function: $piece = substr(string, start [, length ]); The start argument is the position in string at which to begin copying, with 0 meaning the start of the string. The length … Read more