[RESOLVED] Strings and numbers
Hello everybody!
I'm interested in: how to split for example this record:
ab ab ab 22.04.2009
So, I want to have two variables.
A: ab ab ab
B: 22.04.2009
So, first string will always be a one word (or more), and the another string will always be number (always as date)
Thanks! :wave:
Re: [RESOLVED] Strings and numbers
As long as all your dates having the same format dd.MM.yyyy then that code will work. If any of the dates is in short format, for example 22.4.2009 or 1.2.2010 instead of 22.04.2009 or 01.02.2010 then that code will not work.
Re: [RESOLVED] Strings and numbers
Quote:
Originally Posted by
stanav
As long as all your dates having the same format dd.MM.yyyy then that code will work. If any of the dates is in short format, for example 22.4.2009 or 1.2.2010 instead of 22.04.2009 or 01.02.2010 then that code will not work.
Thats right. It all depends on the data and the assumptions you can make and he would know that.