Demonstration of "substring examples" in "string handling":

close Window to return to the code


some examples using substr(),
extracting the first, last, n chars of a string.
reverse a string or see how many times a char is used in a string.