Trim Leading Zeros in webMethods (SoftwareAG)

There are 2 ways.

  1. This one can solve the leading zeros, using # to represent numbers. (这个可以解决数字的开头0,用#代表数字)

2. For combination of digits and alphabets, we can also use “relace” in string services, using regular expression. (可以用string => replace;用regular expression;这个适用于数字和字母的混合)

    “you can use pub.string:replace service in WmPublic with searchString=^0*
replaceString=”” and useRegex=true.

This will work for alphanumeric characters as well.”




Originally from my post.

Author: Wenchan

Eager to explore all the interesting IT fields in full stack track, data integration and data science

Leave a Reply

Your email address will not be published. Required fields are marked *