Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What is RIGHT() equivalent in C#
Message
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
C# 3.0
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01465459
Message ID:
01465482
Views:
51
>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"
Previous
Reply
Map
View

Click here to load this message in the networking platform