trimming strings

  • Thread starter Thread starter RobcPettit
  • Start date Start date
R

RobcPettit

Hi, I have " 'anyword' ", and i want to trim out the '. Ive tried
using:
string test = " 'anyword' ".
char[] DeleteChars = { ''' };
string id = test.Trim(DeleteChars) and string id = test.Trim(''') .
These didnt work. Any ideas please.
Regards Robert
 
Back
Top