These string objects all share a set of methods. But there are others, which we will introduce here. To understand the following, you must know that any string S can be considered as a numbered list of characters, with the leftmost numbered 0 and the rightmost numbered one less than the string length. Thus, a string can be though of almost as if it were an array of characters. The string also has a property S.length, which gives the total number of characters it contains.
String manipulations involve creating, deleting, and rearranging pieces of strings.
N is an integer value between 0 and string.length - 1. This function returns the Nth character of string. This method allows you to go into its owner string and pick out individual characters by index number. N1 and N2 are two integer values, both between 0 and string.length - 1. The method picks out and returns a substring of its owner string, beginning with character N1, and going up to, but not including, character N2.