Jump to content
Macro Express Forums

Parsing Text Variable


briveland

Recommended Posts

A useful trick, and one that was definitely worth sitting down and figuring out.

 

Variable Set String %T1% "blah blah blah blah Orders halb halb halb halb"
Variable Set Integer %N1% from Position of Text in Variable %T1%
Variable Modify Integer: %N1% = %N1% - 1
Variable Modify String: Delete Part of %T1%

 

<TVAR2:01:01:blah blah blah blah Orders halb halb halb halb><IVAR2:01:13:1:Orders><NMVAR:02:01:1:0000001:2:0000001><TMVAR2:11:01:00:001:N01:>

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...