HP3000-L Archives

August 1999, Week 4

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
"VANCE,JEFF (HP-Cupertino,ex1)" <[log in to unmask]>
Reply To:
VANCE,JEFF (HP-Cupertino,ex1)
Date:
Tue, 24 Aug 1999 18:43:29 -0600
Content-Type:
text/plain
Parts/Attachments:
text/plain (22 lines)
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

ATOM RSS1 RSS2