cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements
1447
Views
0
Helpful
2
Replies
Highlighted
Participant

UCCX - how to pad out a string?

Hi Guys

I am collecting a an account number that is up to 16 digits long. If it the string is less than 16 i want to pad the string out with zeros. This is what i have so far.

string.length() <= 16

     True

          set length = string.length() - work out the length of the string

I am then not sure how i can then pad the string out if it is less than 16 digits. Any ideas?

Thanks,


Matt

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Rising star

2 REPLIES 2
Highlighted
Rising star

Highlighted

Thanks Graham!