Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Displaying string with apostrophe
Message
 
 
À
18/08/2010 08:48:10
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Divers
Thread ID:
01476888
Message ID:
01477024
Vues:
42
>>>>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?
>>>>
>>>
>>>Yes I tried the same string without the apostrophe and it worked properly.
>>
>>& #039; ?
>>
>>or backslash doublequote: \" ?
>
>TC, I had tried:
>
>message = "Insured\'s Age" - didn't work, gets cut off after Insured.
>message = "Insured\''s Age" - didn't work, displays two apostrophes.
>message = @"Insured's Age" - didn't work, gets cut off after Insured.
>
>but this one worked
>
>message = "Insured's Age"
>
>Thanks very much

I needed to reply to see the difference.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform