custom string format 0,0 with slash or back slash

Posted by Mamad R on Stack Overflow See other posts from Stack Overflow or by Mamad R
Published on 2013-10-28T09:52:41Z Indexed on 2013/10/28 9:53 UTC
Read the original article Hit count: 303

Filed under:
|
|

i have a WPF TextBox that user can type number in that . now i am searching for a string format that can separate TextBox number each 3 point (like 0,0) but i want separate text with Slash or Back Slash or another character. and we do not know how much point our number has.

i am searching for string format not Linq solution or etc . i read Microsoft help but cant find any way .

sample = 123456789 == > 123/456/789 (good) --- 123,456,789 (bad)

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET