Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

Bronze

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

Everyone's tags (2)
1 ACCEPTED SOLUTION

Accepted Solutions
Silver

UCCX - how to pad out a string?

Graham

2 REPLIES
Silver

UCCX - how to pad out a string?

Graham

Bronze

UCCX - how to pad out a string?

Thanks Graham!

1170
Views
0
Helpful
2
Replies
CreatePlease login to create content