Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Remove Carriage returns and line feeds from a string
Message
 
À
02/02/2005 10:26:51
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Divers
Thread ID:
00983043
Message ID:
00983060
Vues:
18
Not sure if Replace takes three args.

Try this: lccleanstr = rows.item(0).ToString().Replace(chr(13) & chr(10),"")

I use C# so pardon me if syntax is not invalid but you get the idea.


>Thanks,
>that worked although I had tried
>lccleanstr = replace(rows.item(0),chr(13) & chr(10),"")
>and that didnt work..
>
>Thanks again
>
>Paul
- Jayesh
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform