Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Splitting a word

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
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    Post subject: Splitting a word
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10211
Location: italy

PostPosted: Fri Oct 31, 2008 2:47 pm    Post subject: Reply to: Splitting a word
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    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Query on Splitting up a file abdulrafi COBOL Programming 19 Wed Apr 20, 2016 3:26 pm
No new posts Select "SECOND WORD" in tex... jackare SYNCSORT 3 Fri Aug 07, 2015 8:17 pm
No new posts Splitting file into 5 mallik4u JCL & VSAM 12 Wed Jul 15, 2015 10:13 pm
No new posts Sortcard to put comma after particula... sakrat DFSORT/ICETOOL 21 Mon May 11, 2015 8:20 pm
No new posts Splitting of the text without affecti... mkk157 DFSORT/ICETOOL 4 Wed Feb 18, 2015 6:10 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us