Hi,
I want to remove a particular word from the below string.
"abcd.exe /database=DeployAnywhere /add=C:\ProgramFiles\Altiris
I want to remove only "/database=DeployAnywhere" from the above string.Please let me know how to do string manipulation to achieve that.
Thanks.
Abdi
Need to remove a word from a string
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

VulpesRank #55 · 29.2K reputationPosted Apr 7, 2011, 9:55 AM EDT
Sam HobbsRank #107 · 20.5K reputationPosted Apr 7, 2011, 5:11 PM EDT
Perhaps you need to use string.Split(' ') to split the string by space characters. Or maybe you neeed to use String.IndexOf("/database=") and then String.IndexOf(' ') to find the end of the string. There are many possiblities.