Could it simple be a length of this string problem. In other words, did you try another string - will it cut off at the same character?
>>>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.
If it's not broken, fix it until it is.
My Blog