Link to home
Start Free TrialLog in
Avatar of fskilnik
fskilnikFlag for Brazil

asked on

extracting from a string - Classic ASP

Hi there,

My string ("texto") is always something like that:  texto = 427_7/13/2017

I mean: three digits (none zero), the "_" symbol and a date (of course as a string).

How could I extract from "texto" only the date, that is, the "7/13/2017" in this example, so that I can store this date in a certain field in a table of a database?  

Important: please take into account that the "texto" date might be (for example) texto = 427_12/13/2017 and, in this case, of course I want the extraction to be the full date, I mean, exactly 12/13/2017 .

Thanks!
fskilnik.
ASKER CERTIFIED SOLUTION
Avatar of Big Monty
Big Monty
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of fskilnik

ASKER

Perfect. Thanks a lot, Big Monty!

Regards,
fskilnik.