Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Converting from At()
Message
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Divers
Thread ID:
00973738
Message ID:
00973795
Vues:
12
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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform