ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Split string into token with ESQL?

Post new topic  Reply to topic
 Split string into token with ESQL? « View previous topic :: View next topic » 
Author Message
NiceGuy
PostPosted: Thu Mar 25, 2010 6:25 pm    Post subject: Split string into token with ESQL? Reply with quote

Apprentice

Joined: 11 Jun 2009
Posts: 37

Hi community,

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

but its also possible for it to come in as ....

mm/dd/yyyy OR
m/dd/yyyy OR
m/d/yyyy

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.

Thanks again
Back to top
View user's profile Send private message
Gaya3
PostPosted: Thu Mar 25, 2010 9:55 pm    Post subject: Re: Split string into token with ESQL? Reply with quote

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
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Split string into token with ESQL?
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.