Posted: Thu Mar 25, 2010 9:55 pm Post subject: Re: Split string into token with ESQL?
Jedi
Joined: 12 Sep 2006 Posts: 2493 Location: Boston, US
NiceGuy wrote:
Is there or does anyone know a way to split a string into tokens.
For example, I have a date coming in on the input of the format
mm/d/yyyy
Not a proper Message broker Date Format
NiceGuy wrote:
but its also possible for it to come in as ....
mm/dd/yyyy OR
This is a correct MB Date format
NiceGuy wrote:
m/dd/yyyy OR
m/d/yyyy
Not at all correct
NiceGuy wrote:
Anyway it would seem as if there should be an easy way to do this
I still leaning message broker/esql so I apologize if the question is
trivial.
incase if you are not doing any date parsing..use substring or ESQL functions or Java _________________ Regards
Gayathri
-----------------------------------------------
Do Something Before you Die
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum