Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What are ASC() and CHR() in C#?
Message
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
What are ASC() and CHR() in C#?
Divers
Thread ID:
00893241
Message ID:
00893241
Vues:
55
I need to see what is inside a string in C# code. In VFP I would parse the string and look at each character using ASC() function. What is the equivalent of this function in C#?

Also, C# has a string method .Replace() which allows to replace one character with another. If I wanted to replace character CHR(13) or CHR(10) in a string with something different, how would I use it in the .Replace() method of C#?

Thank you.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform