Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 42298

VS 2010 [RESOLVED] Add Dash After Every 4 Characters

$
0
0
I have a textbox, and when I type in it, I would like it to add a dash after every 4 characters. Like, 3818-2320-1232.

I tried some code that someone posted on another thread, but it adds a dash, literally after every four characters; Like, 3818-2320-1232- (the last dash shouldn't be there). how should i go about this?

Viewing all articles
Browse latest Browse all 42298

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>