java - Finding substring within occurrence of a special character -
i have string example
• how you. • fine. • thirdline.
now want detect • occurrences , store in array. array contain 3 entries
•how •i fine •thirdline
how can done in java
str = "• how you. • fine. • thirdline."; string[] list = str.split("\\•");
Comments
Post a Comment