Hi,
In an excel ,i have one column as ID
if the id have 17 digit need to update the last digit as A.
Eg:
Input: 12345678901234567
output:1234567890123456A
Thanks.
Hi,
In an excel ,i have one column as ID
if the id have 17 digit need to update the last digit as A.
Eg:
Input: 12345678901234567
output:1234567890123456A
Thanks.
Hi @vaish
In the regular expression, use this \d$ to define the last digit and replace it with a letter
Check this link regex101
Hi @vaish,
string input =β12345678901234567β;
string output = input.Remove(input.Length -1,1) + βAβ;
Regards,
Omkar P
Hi,
Yeah its working thanks for the help.
Hi,
Thanks for the Replyβ¦
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.