func index(beforeCharacter : Index) -> Index
Returns the position of the character immediately before another charcter indicated by an index.
func index(beforeUnicodeScalar : Index) -> Index
Returns the position of the Unicode scalar immediately before a Unicode scalar indicated by an index.