Question

4
Replies
5323
Views
Close popover
Srinivas Yelamanchili (yelas1)
PEGA
Senior System Architect
Pegasystems Inc.
US
yelas1 Member since 2014 76 posts
PEGA
Posted: September 12, 2016
Last activity: September 28, 2016
Closed
Solved

Left or Right pad a string

I couldn't find a built-in function to left/right pad a string with a given character. Is there one available?

For example I want to left pad with zeros for string 'xyz' so that the total length is 5.

Output should be '00xyz'

Thanks,

-Sri

Low-Code App Development Dev/Designer Studio Data Integration Java and Activities
Moderation Team has archived post