从字符串中提取子字符串

2023-09-13 00:37:58 作者:我是暖男i

什么是从一个字符串中的Andr​​oid抽取子的最佳方法是什么?

what is the best way to extract a substring from a string in android?

推荐答案

substring():

str.substring(startIndex, endIndex);