Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Count strings
Message
De
07/09/2008 08:17:57
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Divers
Thread ID:
01345532
Message ID:
01345534
Vues:
16
This message has been marked as the solution to the initial question of the thread.
>How can I count strings ?
>This is why I want to control names fields
>
>I tried to count chars but it does not solve
>
>Suppose one types: "jhonfrancisco"
>
> if len > 13 will return true
>
>But I want to return true only if he types: "jhon francisco" "Jhon P. Francisco" , etc
>
>So, the field must contain two strings or more
>
>Thanks
>

You have to define the word separator(s)
Supposing it is only a space
? !empty(occurs(' ', alltrim(NameField)) )
Gregory
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform