Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Easy name flip-flop
Message
De
15/02/2003 01:48:13
 
 
À
15/02/2003 00:47:09
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00753637
Message ID:
00753639
Vues:
18
Randy, If the names are currently in the format of your example then one possible solution would be:
cName     = "Smith, Robert"
nComma    = AT( ",", cName ) 
cFlipName = SUBSTR( cName, nComma + 1 ) + " " + SUBSTR( cName, 1, nComma - 1 )
>Hi. Is there an easy formula to flip-flop names in a VFP address list (ie: Smith, Robert -> Robert Smith)??
>
>Thanks, Randy
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform