[R] Trimming blanks from the ends of strings

s-luppescu@uchicago.edu s-luppescu at uchicago.edu
Fri Jun 1 01:12:54 CEST 2001

This is pretty mundane, but I much appreciate the help. I have character
variables that I have read in from 40-character-wide fields. I want to remove
the spaces from the ends so I can use them right justified (adj=1) as labels on
the vertical axis of a graph. 

Stuart Luppescu         -=-=-  University of Chicago
$(B:MJ8$HCRF`H~$NIc(B        -=-=-  s-luppescu at uchicago.edu
http://musuko.uchicago.edu/pubkey.asc for PGP Public Key
ICQ #21172047  AIM: psycho7070
Man is a military animal, glories in gunpowder, and loves parade.
                -- P.J. Bailey
>> Sent on 31-May-2001 at 18:01:39 with xfmail
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list