Hello,
I have got some string:
test = "12aaa-cc-xxx"
and I need it compere with this mask:
mask = xxxx-xxx-xx-00
where x menas anything and 0 is needed
how can I do somethnig like this:
if test correspond mask then is True
Tom
Hello,
I have got some string:
test = "12aaa-cc-xxx"
and I need it compere with this mask:
mask = xxxx-xxx-xx-00
where x menas anything and 0 is needed
how can I do somethnig like this:
if test correspond mask then is True
Tom
Hello Tom,
If you are only checking the last two characters of the string, you can test it this way.
If Right(Test, 2) = "00" Then Result = True
Hope this helps,
Leith Ross
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks