11、String 类的常用方法都有那些?

cnetsa / 2023-05-18 / 原文

equals、length、contains、replace、split、hashcode、indexof、substring、trim、toUpperCase、toLowerCase、isEmpty等等。