Reputation: 21
What is a simple way to split a string and put into an array Here is my string
aa_bb__cc_dd
I would like to have them in an array like this:
array[0] = "aa"
array[1] = "bb"
array[2] = ""
array[3] = "cc"
array[4] = "dd"
Upvotes: 2
Views: 428