fskilnik
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.
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Regards,
fskilnik.