PHP substr
If you want to get sub string from a string so you can easily do this through PHP's built in function substr. This function required three parameters first is the whole string, second parameter indicate index value from where you want to retrieve the sub string