stringvar.substr(start [, length ]) 'hello world'.substr(1,1) //e stringvar.substring(start, end) "hello world".substring(1,3) // el