Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
I can't process a string the way I want. Here is an illustration of what I want:
I tried var.rep_finesspre.replaceFirst("^0*", "") in my tMap (or replaceAll). I also tried tReplace with "0_" and replace with "". But the result is not what I expect, I want to remove the first zero from a string when there are numbers behind it. My variable is of type string
Hello,
With your use case, you'd better get your String length firstly and then remove the first zero from a string.
Please have a look at my screenshots for details. Hope it helps
Best regards
Sabrina
Hello,
With your use case, you'd better get your String length firstly and then remove the first zero from a string.
Please have a look at my screenshots for details. Hope it helps
Best regards
Sabrina