Java String
Java StringString str = “Hi There”;charAt( n ) – str.charAt(1) =>‘i’;str.toLowerCase() => “hi there”;str.equals(“hi There”) => false;str.replace(“Hi”, “Hello”) => “Hello There”;str.replace(“e”, “”) => “Hi Thr”;str.replaceFirst(“e”, “
原创
2020-07-16 10:50:10 ·
84 阅读 ·
0 评论