on 2025 Feb 03 9:03 AM
Hi, How to remove leading zeroes via XPATH expression in content modifier? Is it possible?
Example:
Field path in XML: //number
Input: 00001230, 00001203405, 0021330
Output: 1230, 1203405, 21330
Thanks for the help!
Request clarification before answering.
Hi @ZTK196 ,
Too long to convert to number 😞
Then, try with a pattern for string: replace(//number, '^0+', '')
Regards,
Roberto
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 17 | |
| 8 | |
| 8 | |
| 6 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.