Jump to content
Macro Express Forums

Lastname, Firstname M.


HeyJim

Recommended Posts

It's copied into the clipboard as with this heading (Lastname, Firstname M.) but later in the macro I need it to be rearranged and spit out as Firstname M. Lastname.

 

Seems as though it wouldn't be all that difficult but, well, I don't have a clue how. I've had help in the past with other text related questions and have been able to modify the answers and use them but I really still don't understand this part of processing text.

 

Thanks.

Link to comment
Share on other sites

It's copied into the clipboard as with this heading (Lastname, Firstname M.) but later in the macro I need it to be rearranged and spit out as Firstname M. Lastname.

 

[...]

Seems quite straighforward. You could use the Get Position of Text in a Text Variable command (under Set Integer Variable) to find the comma.

 

After that you can use Modify String Variable->Copy Part Of Text to extract the names, by refering to the comma position.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...