Help with checking string format? (Windows App VS 2010, with VB.NET)
Posted on 2012-12-27
I need to make sure my string s is in the following format: xxxx-xx-xxx-xxxx
How do check to make sure s is in the desired format, if not return an error message?
Or if length is 13 characters , s = 1305000200923, convert the string to 1305-00-020-0923