Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Displaying string with apostrophe
Message
From
17/08/2010 16:04:38
 
 
To
17/08/2010 15:59:01
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Miscellaneous
Thread ID:
01476888
Message ID:
01476904
Views:
52
>>Hi,
>>
>>This should be an easy one for someone.
>>
>>I have code like this:
>>
>>
message = "This plan is not applicable for the Insured's Age and/or Sum Assured";
>>
>>but when this string is displayed, it cuts off at the apostrophe. I've tried it like this:
>>
>>
message = @"This plan is not applicable for the Insured's Age and/or Sum Assured";
>>
>>but the same thing. How do I get this to display the full string?
>
>WAG - maybe you have to escape single quotes i.e.
>
>message = "This plan is not applicable for the Insured''s Age and/or Sum Assured"
>
Thanks Al,

I had tried that along with using \ as the escape and neither worked.
Frank.

Frank Cazabon
Samaan Systems Ltd.
www.samaansystems.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform