text in a varable to a number?

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
Andrew Parsons
Newbie
Posts: 3
Joined: Tue Aug 09, 2011 9:13 pm

text in a varable to a number?

Post by Andrew Parsons » Thu Aug 11, 2011 8:58 pm

Thanks in advace.

Lets say i had the text

abcde

in the varable alp1

instead of abcde how do i convert that to another varable with the number characters in alp1 (so for this example it would be 5)

Anyhelp would be much appricated.

Andrew

adroege
Automation Wizard
Posts: 438
Joined: Tue Dec 07, 2004 7:39 pm

Post by adroege » Fri Aug 12, 2011 1:47 am

Try the length command

User avatar
Rain
Automation Wizard
Posts: 550
Joined: Tue Aug 09, 2005 5:02 pm
Contact:

Post by Rain » Sat Aug 13, 2011 12:12 pm

Like so...

Code: Select all

Let>alp1=abcde
Length>alp1,Length
MessageModal>Length

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts