Add substr to String native methods