Index.of String Jpg In Java, How To Find All The Index Of A Char From A String?

In java, how to find all the index of a char from a string? - index.of string jpg

For example:
String str = "character";
str.indexOf int index = ( 'a');

and I close the index of two "a" chain of ...
Help me plz ......

0 comments:

Post a Comment