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

Popular posts from this blog

java - Jmockit String final length method mocking Issue -

What is the difference between data design and data model(ERD) -

ios - Can NSManagedObject conform to NSCoding -