HP3000-L Archives

June 2000, Week 3

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:
Donna Garverick <[log in to unmask]>
Reply To:
Donna Garverick <[log in to unmask]>
Date:
Mon, 19 Jun 2000 16:43:47 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (22 lines)
"VANCE,JEFF (HP-Cupertino,ex1)" wrote:

> I'm not sure this is elegant, but here goes:
>
> :setvar x '999 xxxxxxx yy y  y,y, y'
> :calc len(x)
> 24, $18, %30
> :calc word(x)
> 999
> :calc word(x,,2)
> xxxxxxx
> :calc rht(x,-delimpos(x,,2)-1)
> yy y  y,y, y

it works for me :-)   thanks jeff!!            - d

--
Donna Garverick     Sr. System Programmer
925-210-6631        [log in to unmask]

>>>MY opinions, not Longs Drug Stores'<<<

ATOM RSS1 RSS2