Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Check string of characters?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00138984
Message ID:
00139155
Vues:
33
Becky,

You can use the string functions like substr() to pull the string apart into it's components:

lcFirstPart = left( this.Value, 5 )
lcSecondPart = substr( this.Value, 6, 3 )
lcThirdPart = substr( this.Value, 10, 4 )
...

>I need to compare a string of characters typed into
>a text box.
>
>Say for example Q7428-452-6587-1234
>
>I need to check alpa and numeric characters in a specific
>order. I want the form to check for this string before it
>will run the form.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform