IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Splitting a word


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
lekshmi_ci

New User


Joined: 14 Mar 2007
Posts: 60
Location: Thiruvananthapuram

PostPosted: Fri Oct 31, 2008 2:43 pm
Reply with quote

Hi,
Is there any command in Rexx to get each letter from a word.
Using PARSE we get only the words from a sentence right?
Please help me out
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Fri Oct 31, 2008 2:47 pm
Reply with quote

Code:
do i = 1 to length(word)
   char = substr(word,i,1)
end
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts PARSE Syntax for not fix length word ... JCL & VSAM 7
No new posts Search two or more word with FILEAID Compuware & Other Tools 15
No new posts replace word 'MONTH' with current mon... SYNCSORT 11
No new posts Splitting group records based on deta... DFSORT/ICETOOL 8
No new posts Splitting a file into multiple files ... DFSORT/ICETOOL 7
Search our Forums:

Back to Top