c# - remove a char from string or replace it by another in string array -


we have array of string this:

string[] names = new [] {"jo!oje","kaba!b","!zorrat","kotlet!","fat!!"}; 

and want remove '!' each string. how can it?

names = names.select(x => x.replace("!", "")).toarray(); 

Comments

Popular posts from this blog

How has firefox/gecko HTML+CSS rendering changed in version 38? -

javascript - Complex json ng-repeat -

jquery - Cloning of rows and columns from the old table into the new with colSpan and rowSpan -