HP3000-L Archives

June 2000, Week 1

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:
Wirt Atmar <[log in to unmask]>
Reply To:
Date:
Wed, 7 Jun 2000 12:24:03 EDT
Content-Type:
text/plain
Parts/Attachments:
text/plain (15 lines)
Ted writes:

> And, of course, Perl's contribution:
>
>  $last_four = substr($my_string,-4);

And for other "obscure" languages, QueryCalc's function is:

     rjs$(ab4,4)

(takes the last 4 characters out of the string found in cell AB4 and puts
them in the equation's current cell).

Wirt Atmar

ATOM RSS1 RSS2