I want to extract any words immediately after the # character in a String, and store them in a String[] array.
For example, if this is my String…
"Array is the most #important thing in any programming #language"
Then I want to extract the following words into a String[] array…
"important"
"language"
Could someone please offer suggestions for achieving this.
try this –
out put –