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 -

asp.net - Razor Page Hosted on IIS 6 Fails Every Morning -

c++ - wxwidget compiling on windows command prompt -