Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Easy name flip-flop
Message
From
15/02/2003 01:48:13
 
 
To
15/02/2003 00:47:09
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00753637
Message ID:
00753639
Views:
15
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.
Previous
Reply
Map
View

Click here to load this message in the networking platform