Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Small but dangerous bug in StrExtract
Message
De
15/08/2008 14:35:03
 
 
À
15/08/2008 10:01:03
Information générale
Forum:
ASP.NET
Catégorie:
Visual FoxPro Toolkit pour .NET
Divers
Thread ID:
01339105
Message ID:
01339210
Vues:
8
>The current implementation of StrExtract in the VFPToolkit will fail if there is no data between a both delimiters when the delimiter length is 1.
>
~abc~def~~jkl~
>will return "~jkl" for StrExtract(lcString,"~'","~",3)
>
>To correct the code and to allow missing right delimiter use the following code

How to convert this code to C# ?
Andrus
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform