|
Try, the function gettok() from Scott in this thread. Read the entire thread to see what going on. http://archive.midrange.com/rpg400-l/200408/msg00372.html. Thanks, Matt -----Original Message----- From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Stiju Easo Sent: Tuesday, April 04, 2006 9:04 AM To: RPG programming on the AS400 / iSeries Subject: Re: RPGLE pgm to parse a string I asked for reverse of string bcoz i can take values b/w 2nd and 3rd '_' 's flatly then reverse obtained string The problem with earlier post is ,how can i correctly gusses a charecter just after third but last '_' , it is error prone, otherwise that logic is good Any one plse guide me, is there any way other than reversing string?
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.