Subject: | |
From: | |
Reply To: | VANCE,JEFF (HP-Cupertino,ex1) |
Date: | Tue, 24 Aug 1999 18:43:29 -0600 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Hi Donna,
I'd like to know more why REPL doesn't work for you.
Also the EDIT function may help. E.g.
setvar newstr edit(orig_str,"c/ / /")
Do "help edit" for syntax, or look it up in the VERY handy
Orbit Pocket Guide handed out at HP World :)
Jeff, CSY
----------original message---------
i've got a little puzzler.... i've got a ci string variable
that contains, depending on it's input value, 'n' words
(where 'n' is >= 2 and < some reasonable number) separated
by 'x' spaces (where 'x' is >= 1 and < some finite yet
practical number). i'd like to reduce it to a string that
would still contain 'n' words but where each word is
separated by one space. 'repl' isn't exactly working....
i'd rather not take the 'word' route since i'm unsure how
many words are in the entire string. anyideas? - d
|
|
|