🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #1125

Postscript and strings

#1125
From: Vaughan Turner
Date: Fri, 29 Sep 1989 00:34
23 lines
1408 bytes
I have a modified LaserPrep file for use on a macintosh.  What I want
to do is check chooser names to limit or not limit the number of pages
that will be printed out by a LaserWriter.  Actually, none of this is
the problem.  Currently the program checks to see if certain user
names are being used.  It would be much nicer if it would just check
to see if the last 1 or 2 characters in the user name string are
spaces.  Does anyone know how to do this?  I have some manuals, but
from what I can see Postscript is decidedly lacking in string
manipulation abilities.  Not a flame, mind you, just an observation.

Anyway, help would be appreciated

I hate it when other people put this, but I haven't the time to read
this newsgroup every day, so please respond directly to me.

Thanks again,

Vaughan
--
------
Vaughan Turner                               BITNET:  mcswvt@nmsuvm1.bitnet
Box 3AT Computer Center                    INTERNET:  vturner@dante.nmsu.edu
Las Cruces, NM 88001
Technical Details
Message-ID: <VTURNER.89Sep28183416@dante.nmsu.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!cmcl2!lanl!opus!vturner

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!cmcl2!lanl!opus!vturner
From: vturner@dante.nmsu.EDU (Vaughan Turner)
Newsgroups: comp.lang.postscript
Subject: Postscript and strings
Message-ID: <VTURNER.89Sep28183416@dante.nmsu.EDU>
Date: 29 Sep 89 00:34:16 GMT
Sender: news@nmsu.edu
Distribution: comp.lang.postscript
Organization: New Mexico State University, Las Cruces, NM
Lines: 23