Message-ID: <3ECB4763.6030902@statistik.uni-dortmund.de>
Date: 2003-05-21T09:31:15Z
From: Uwe Ligges
Subject: Truncation of text strings
In-Reply-To: <Pine.LNX.4.44.0305211102030.3768-100000@tal.stat.umu.se>
G?ran Brostr?m wrote:
> How do I print text strings to a given length, ie, if they are too long
> I want them truncated (from the end)?
>
>
>>format.char("123", width = 1)
>
>
> does not do what I want, ie, "1".
>
> ---
> G?ran Brostr?m tel: +46 90 786 5223
> Department of Statistics fax: +46 90 786 6614
> Ume? University http://www.stat.umu.se/egna/gb/
> SE-90187 Ume?, Sweden e-mail: gb at stat.umu.se
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
See ?substring
Uwe Ligges