I am trying to eliminate a leading character (‘3’ in this case) if the length of the ID is 11 character long.
So,
31000000000 needs to be 1000000000 as 31000000000 has 11 characters
but, 3100000000 will stay the same as it has only 10 character.
You can use a StringManipulation node. Reverse the inputstring, take a substring (length 10) from this reversed string, and reverse it back to its original order.
Hi @HansS,
Wow, this is a really elegant solution! Just note that this does not work if the string can also be more than 11 characters and in that case should stay as-is as well.
Alexander
Ah, now I see what you mean. Well in that case a RowSplitter(s) before and Concatenate node after will be helpful. Looking forward to your feedback @Arif2021 .
gr. Hans