[API] more string class prototype API