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 » About Substr

Post new topic  Reply to topic
 About Substr « View previous topic :: View next topic » 
Author Message
dheerajyermal
PostPosted: Fri Apr 01, 2011 5:27 am    Post subject: About Substr Reply with quote

Newbie

Joined: 23 Mar 2011
Posts: 5
Location: Singapore

Hi I need a code in esql : COndition

Example i ave string like this xxxx_123434

I need string that is after _.

So please help me out .. how to declare and use variable in ESQL . Please provide the code for the same
Back to top
View user's profile Send private message
rama1977
PostPosted: Fri Apr 01, 2011 6:02 am    Post subject: Re: About Substr Reply with quote

Newbie

Joined: 22 Mar 2011
Posts: 7

dheerajyermal wrote:
So please help me out .. how to declare and use variable in ESQL . Please provide the code for the same


There is function in ESQL called SUBSTRING. It has parameter called AFTER.

It is strange you could not find it and need help.
Back to top
View user's profile Send private message
paintpot
PostPosted: Fri Apr 01, 2011 6:05 am    Post subject: Reply with quote

Centurion

Joined: 19 Sep 2005
Posts: 112
Location: UK

Unexpectantly basic question

Take the pieces of your question, and refactor:

put

substr(ing) string and after

together, and you almost have the answer...

or look at the last example in the SUBSTRING function in WMB 7...
Back to top
View user's profile Send private message
paintpot
PostPosted: Fri Apr 01, 2011 6:09 am    Post subject: Re: About Substr Reply with quote

Centurion

Joined: 19 Sep 2005
Posts: 112
Location: UK

rama1977 wrote:
dheerajyermal wrote:
So please help me out .. how to declare and use variable in ESQL . Please provide the code for the same


There is function in ESQL called SUBSTRING. It has parameter called AFTER.

It is strange you could not find it and need help.


I must learn to type faster
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 » About Substr
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.