New string handling functions and new indexing technique