[thelist] Apostrophes

Warden, Matt mwarden at mattwarden.com
Fri May 31 16:33:17 CDT 2002


On May 31, Scott Schrantz had something to say about RE: [thelist] Apostrophes

>> -----Original Message-----
>> From: Warden, Matt [mailto:mwarden at mattwarden.com]
>>
>> On May 31, Rob Smith had something to say about [thelist] Apostrophes
>>
>> >Any ideas how I can allow my users to include conjunctions?
>> Do I need to change up the order of my apostrophes?
>> >
>> >(Jay said: you need to escape the apostrophe's. ) No offence
>> Jay, Other ideas?
>>
>> he's right.
>>
>> Replace(textareastring, "'", "''")
>
>Or replace it with its HTML entity:
>
>strBody = Replace(strBody, "'", "’")

well, that's only an equal solution if you're always going to be
displaying the data in html/xml.

just somethign to consider.

--
mattwarden
mattwarden.com




More information about the thelist mailing list