当前位置: 首页> 文旅> 旅游 > String的API

String的API

时间:2025/7/14 9:24:43来源:https://blog.csdn.net/2401_83010439/article/details/141771070 浏览次数:1次
package API;public class String {//String常用API//char charAt(int index)//int codePointAt(int index)//int offsetByCodePoints(int startIndex, int cpCount)//int compareTo(String other)//IntStream codePoints()//new String(int[] codePoints, int offset, int count)//boolean isEmpty()//boolean isBlank()//boolean equals(Object other)//boolean equalsIgnoreCase(String other)//boolean startsWith(String prefix)//boolean endsWith(String suffix)//int index0f(String str)//int indexOf(String str, int fromIndex)//int indexOf(int cp)//int indexOf(int cp, int fromIndex)//int lastIndexOf(String str)//int lastIndexOf(String str, int fromIndex)//int lastIndexOf(int cp)//int lastIndexOf(int cp, int fromIndex)//int length()//int codePointCount(int startIndex, int endIndex)//String replace(CharSequence oldString, CharSequence newString)//String subString(int beginIndex)//String subString(int beginIndex, int endIndex)//String toLowerCase()//String toUpperCase()//String strip()//String stripLeading()//String stripTrailing()//String join(CharSequence delimiter, CharSequence…elements)
}

 

关键字:String的API

版权声明:

本网仅为发布的内容提供存储空间,不对发表、转载的内容提供任何形式的保证。凡本网注明“来源:XXX网络”的作品,均转载自其它媒体,著作权归作者所有,商业转载请联系作者获得授权,非商业转载请注明出处。

我们尊重并感谢每一位作者,均已注明文章来源和作者。如因作品内容、版权或其它问题,请及时与我们联系,联系邮箱:809451989@qq.com,投稿邮箱:809451989@qq.com

责任编辑: