sp_char_index function

Coordinates to unique character vector