Edit The Code:
See Result »
Try it Yourself - ©
w3ii.com
The substr() method extract a part of a string and returns the extracted parts in a new string: