G
Guest
I have the following letters;
string letters = "a;b;c....to z";
the I need to replace the incoming string which containing letters above
with integer 1 i did following
for(int u=0;u<letters.Split(';').Length;u++) {
FilesName = FilesName.Trim().Replace(letters.Split(';'), "1");
}
is there better way to do that
string letters = "a;b;c....to z";
the I need to replace the incoming string which containing letters above
with integer 1 i did following
for(int u=0;u<letters.Split(';').Length;u++) {
FilesName = FilesName.Trim().Replace(letters.Split(';'), "1");
}
is there better way to do that