Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Separate in three
Message
 
 
À
27/08/2005 04:44:16
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01044481
Message ID:
01044547
Vues:
12
If there're more or less then 3 words they could end up in the wrong fields or be lost after split.

>Hi,
>
>Why *exactly* three ?
>
>>If there're exactly 3 words in the field than
>>SELECT mytable
>>SCAN
>>  REPLACE ;
>>    field1 WITH GETWORDNUM(field123, 1), ;
>>    field2 WITH GETWORDNUM(field123, 2), ;
>>    field3 WITH GETWORDNUM(field123, 3), ;
>>ENDSCAN
>>
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform