PDA

Click to See Complete Forum and Search --> : String Replace using a wildcard


scriptman
Oct 21st, 2006, 02:54 PM
Hi,

This is probably easy but I haven't been able to find help on it. Basically, I want to replace the contents of a string up to the occurence of a backslash.

So,
newString = aCertainValue.ToString().Replace("wildcard\","Q");

Any ideas?

Thanks.

scriptman
Oct 21st, 2006, 04:33 PM
Figured it out. Nevermind!

jmcilhinney
Oct 21st, 2006, 07:02 PM
Don't forget to resolve your thread from the Thread Tools menu.