The only string property we'll talk about here is length.
Length returns the length of the string and can come in very handy.
Substrings Table A shows a list of the more common string methods and what they do. It's important to note that the index of the first character of a string is always 0, not 1. The substring and substr methods are very similar. You pass substring a starting and ending position within the referenced string, and substring returns the substring at that position. Note that the character found at the end position isn't included in the substring.