String::substring(int, int) should be called substr.

Perl's is called substr; C++'s and Javascript's too.
Json update.