Re: Triming extra characters ???

Tech-Archive recommends: Speed Up your PC by fixing your registry

From: Chris Dunaway (dunawayc_at_gmail.com)
Date: 02/14/05


Date: 14 Feb 2005 14:12:43 -0800

Be aware that the Trim function will only remove the characters from
the beginning and end of the string.

If you wish to remove all occurences of the quotation mark, try this:

sRead = sRead.Replace("""",String.Empty)

Note that the first argument above has 4 quotation marks.

There may be other ways to do this that have better performance.

Chris



Relevant Pages

  • Re: Triming extra characters ???
    ... Be aware that the Trim function will only remove the characters from ... the beginning and end of the string. ... If you wish to remove all occurences of the quotation mark, ...
    (microsoft.public.dotnet.general)
  • Re: Triming extra characters ???
    ... > the beginning and end of the string. ... > If you wish to remove all occurences of the quotation mark, ...
    (microsoft.public.dotnet.general)
  • Re: suggestions on how to markup quotes in article?
    ... RIGHT SINGLE QUOTATION MARK ... I say this while opposing different characters for characters that are ... an apostrophe is part of a word ...
    (comp.infosystems.www.authoring.html)
  • Re: newbie Perl question
    ... Be aware that the subject you have used will be read by mant people as "Question I'm too lazy to figure out of myself. ... quotation mark can onlt appear once. ... You defined replace_wordreturning a modified copy of the string but you don't do anything with the return value. ...
    (comp.lang.perl.misc)
  • Re: "smart" quotes in PHP
    ... >> rendered in any font and any character set. ... >> the string and print the chr value for each character)... ... 92 146 8217 RIGHT SINGLE QUOTATION MARK ...
    (comp.lang.php)