cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1698
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!

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: