Extracting a Substring Using substr

Nov 29, 2009 Author: makedon
The substr() function returns a part of a string. You provide a string and the position of the first character to be extracted (keep in mind that the first character has the index 0). From this character…