what is the best way to extract a substring from a string in android?
相关问题
- How can I create this custom Bottom Navigation on
- Bottom Navigation View gets Shrink Down
- How to make that the snackbar action button be sho
- how to split a list into a given number of sub-lis
- Listening to outgoing sms not working android
Here is a real world example:
In the example asubstring would return: h
You can use subSequence , it's same as substr in C
substring()
: