regexp for end-of-line ?



IBM's Command List programming language & Restructured Extended Executor

regexp for end-of-line ?

Postby goobee » Fri Jun 25, 2010 3:50 pm

Hi
in order to get rid off some leading and trailing chars in a string the regexp '^' and '$' come to my mind. is there a parse template similar to this?
the string is 'T_anythingx', I only need 'anything'. Maybe parse offers other ways to do !?

thanks
goobee
 
Posts: 3
Joined: Tue Jun 01, 2010 11:49 am
Has thanked: 0 time
Been thanked: 0 time

Re: regexp for end-of-line ?

 

Re: regexp for end-of-line ?

Postby enrico-sorichetti » Fri Jun 25, 2010 4:02 pm

STRIP maybe ??
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 2643
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 130 times

Re: regexp for end-of-line ?

Postby expat » Fri Jun 25, 2010 5:36 pm

Possibly TRANSLATE
expat
 
Posts: 382
Joined: Sat Jun 09, 2007 3:21 pm
Has thanked: 0 time
Been thanked: 1 time


Return to CLIST & REXX

 


  • Related topics
    Replies
    Views
    Last post