Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Converting from At()
Message
 
To
02/01/2005 23:43:19
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Miscellaneous
Thread ID:
00973738
Message ID:
00973795
Views:
13
Michel,
To find the first occurance (similar to AT() in VFP) use IndexOf(). To find the first occurence from the right (similar to RAT() in VFP) use LastIndexOf(). I do not think there is an equivalent method to VFP's AT() function where you can specify the number of occurance in .NET (at least not that I have found), but it should be pretty easy to write and this might be done already in the VFP.NET toolkit like Bonnie sugested.
The equivalent of VFP's SUBSTR() is in .NET SubString().

Hope this helps

Einar

>Anyone would know how to convert the following VFP line to VB.NET?
>
>
>SUBSTR(lcServer,1,AT("/",lcServer,3))
>
Semper ubi sub ubi.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform