String类的常用方法都有哪些?

答案解析

如length、charAt、substring、indexOf、equals、split、replace、toUpperCase等。