I need to do some modifications on dynamically generated strings;
String Example
Products [279] Electric Paint Sprayer [21] Airbrush Equipment [109] Spray Tanning Equipment [23] Mini Air Compressor [33] Sand blasting gun [5] Paint Tank [9] Air Spray Gun [26] Pneumatic tools/Air tools [26] Tire Inflating gun [10] Air Riveter [6] Hand Tools [7] Comb/Hair Brush [4]
I want to remove "Products [279]" from the beginning (always the same except the numbers) and replace the rest of the string like this "Electric Paint Sprayer [21] - Airbrush Equipment [109] - ..."
str=str.Substring(str.IndexOf(']')+2)