Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What is RIGHT() equivalent in C#
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
C# 3.0
Database:
Visual FoxPro
Divers
Thread ID:
01465459
Message ID:
01465482
Vues:
52
>For now, while I am learning C#, I keep thinking in Visual FoxPro terms. In this case, I tried using the RIGHT() function and got nowhere fast. Is there an equivalent way of doing this in C#?

There are tons of vfp functions already done in C# as extension methods. Some are better than others. Here is one:
http://dotnetperls.com/right
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform