cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1699
Views
0
Helpful
2
Replies

UCCX - how to pad out a string?

matthewpage
Level 3
Level 3

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

Graham Old
Level 7
Level 7
2 Replies 2

Graham Old
Level 7
Level 7

Graham

Thanks Graham!