add string.sh

string.sh has two methods.
  charat string index
  substr string index len
add indexof method

todo: need to be fixed when last character of string is speficied.
add indexof2

todo it doesnt work when a char and the first char of the string are the same.