Another Small And Simple Function To Take Each Character of a string, and put it into an Array, This helps significantly when you need to sift through a string. This Function Uses The spush (String Push) Function, Also In Code Snippits.
Couldn't you just do:
The only difference would be that you'd have a char array instead of a string array.
Alternatively, a better way in .net 2.0 would be to use the Array.ConvertAll method.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.