Returns the closest character index from the given string to the given point x.
the index of the character closest to the given point x, or -1 if it could not be found.
-1
0.18.5