Could you please help ,
here is sample
Input - 4670240063488
Output - 4.670.240.063.488
need decimal after every 3 digit
Could you please help ,
here is sample
Input - 4670240063488
Output - 4.670.240.063.488
need decimal after every 3 digit
Var= String.Join(“.”, Enumerable.Range(0, (inputString.Length + 2) \ 3).Select(Function(i) inputString.Substring(i * 3, Math.Min(3, inputString.Length - i * 3))))
Hi,
Another approach:
How about the following?
System.Text.RegularExpressions.Regex.Replace(yourString,"(^\d|\d{3}(?=.))","$1.")
Regards,
Thanks for your help
Thanks for your help seems to working
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.