Edit This Code:
See Result »
Search a string for "W3Schools", and display the position of the match:
Try it
Result: