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 » String manipulation

Post new topic  Reply to topic
 String manipulation « View previous topic :: View next topic » 
Author Message
vijayakumar
PostPosted: Tue Jun 12, 2012 4:36 am    Post subject: String manipulation Reply with quote

Centurion

Joined: 01 Aug 2010
Posts: 101

Hi all,

The characters in the input String is divided based on spaces.

Input String is

Reference part required to change

If the char Indicator is 1:

I have to form the Output as 'Reference'

If the char Indicator is 2:

I have to form the Output as 'Reference part'

If the char Indicator is 3:

I have to form the Output as 'Reference part required'

Can anyone please help me how to achieve this.
Back to top
View user's profile Send private message
Esa
PostPosted: Tue Jun 12, 2012 4:43 am    Post subject: Reply with quote

Grand Master

Joined: 22 May 2008
Posts: 1387
Location: Finland

http://publib.boulder.ibm.com/infocenter/wmbhelp/v6r1m0/index.jsp?topic=%2Fcom.ibm.etools.mft.doc%2Fak05260_.htm
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Jun 12, 2012 5:29 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Esa wrote:
http://publib.boulder.ibm.com/infocenter/wmbhelp/v6r1m0/index.jsp?topic=%2Fcom.ibm.etools.mft.doc%2Fak05260_.htm




http://publib.boulder.ibm.com/infocenter/wmbhelp/v7r0m0/topic/com.ibm.etools.mft.samples.csv.doc/doc/overview.htm
Back to top
View user's profile Send private message
vijayakumar
PostPosted: Tue Jun 12, 2012 5:33 am    Post subject: Reply with quote

Centurion

Joined: 01 Aug 2010
Posts: 101

Thanks to all for the help.
Back to top
View user's profile Send private message
kimbert
PostPosted: Tue Jun 12, 2012 6:25 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Same question as I asked on your other thread. Why are you hand-coding your parsing of the input data? Can you not use MRM/DFDL?
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 » String manipulation
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.