|
Rank: Newbie
Joined: 1/29/2018 Posts: 6 Location: USA
|
I'm trying to remove leading 0's at the beginning of a string. I found this post: https://www.altova.com/forum/default.aspx?g=posts&t=7 , but I can't seem to get it to work.
My function itself and what I have in the mapping look to just be the same which is likely why it's not working, but I cannot figure this one out. I'm sure it's something simple, but any input is appreciated. The first picture is the function itself, and the second is the function within the mapping.
mbaile attached the following image(s):
|
|
Rank: Advanced Member
Joined: 2/27/2009 Posts: 564
|
You haven't read the whole discussion there, especially the part at the end where the function recursively calls itself inside the function. See the attached example. File Attachment(s): example.mfd (7kb) downloaded 366 time(s).
|
|
Rank: Newbie
Joined: 1/29/2018 Posts: 6 Location: USA
|
That's perfect, thank you!
|
|
guest |