Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21887

[RESOLVED] Format numbers and letters confusion

$
0
0
I'm trying to use the following to format a string of numbers and letters
Code:


  OutPutStr = Format$(InPutStr, "0-000-000-00")

It works ok if the string is all numbers like 1-123-123-12 but doesn't seem to work if there are letters in it like 1-123-123-AB

how can i fix this issue?

thanks

Viewing all articles
Browse latest Browse all 21887

Trending Articles



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