Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Feb 15, 2012 12:01 PM|LINK
So from this I need to get each one like, I can assign each extension to one var variable such as
Why don't you maintain an array with extentions? That's the appropriate way.
string s = "jpeg, jpg, gif, png";
var extentions = s.split(',');
Same way if I will add more extensions to the string then accordingly I will have to get all with same var variable.
Now you can access the array by index.
Please 'Mark as Answer' if this post helps you.