Jump to content
Macro Express Forums

Prepend Text?


Cory

Recommended Posts

I have a date as a numeric value in a variable and in an instance where it is less than 10 want to prepend it with a "0" zero so when files are sorted by name they will appear chrono. I convert the string to text but only see a append option in the modify string. Isn't there somewhere I can simply glue text and or variables into a new variable? It just seems that the ability to modify strings seems very limited and I think I must be missing something. Any suggestons?

Link to comment
Share on other sites

Wouldn't you know as soon as I make a post I figure it out. I was thinking it should be a 'modify' thing when I can do it with the "Set String" and enter "0%T1%". Duh.

 

I don't see a replace command and that looks interesting. Where is it? I'll try to check that out now.

 

Thanks!

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