Hello
I developing a bot that uses SAP tables. In one of them, there is a material code like this:
“0000000000300001639” = length is 18 char, but this is dinamic string, the next codes can have 17 or 16 char
I need to split by the last 0, because i only want to use this part of the number:
“300001639”
I’m loosing my mind here.
Help would be very appreciated.
Thanks
Hey
You can use
steVar.TrimStart("0"c)
where steVar is a string Variable.
Thanks
Thanks a lot. It worked.
Sometimes, the easiest way, is the hardest way.
Tnx
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.