vbscript - Condition check for alphanumeric and numeric in ASP code -


Can someone tell me how to check the value of the 6 digit check is 5 digits alpha numeric But the 6th digit should be numerical in an ASP code using VB

if your value Only fixed for 6 digits, you can use the function if your value is not set for 6 digits and you need to check the final digit If needed, you can experiment with the function .

For example:

  & lt;% is_numeric = notumeric (true (myValue, 1))% & gt;   

or

  & lt;% is_numeric = numeric (middle (myValue, 6,1))% & gt;    

Comments

Popular posts from this blog

Python SQLAlchemy:AttributeError: Neither 'Column' object nor 'Comparator' object has an attribute 'schema' -

java - How not to audit a join table and related entities using Hibernate Envers? -

mongodb - CakePHP paginator ignoring order, but only for certain values -