Download Package `Hmisc` - R
Transcript
string.break.line
261
Value
rows
vector containing the number of character rows in each string.
columns
vector containing the maximum number of character columns in each string.
Note
compatable with Splus string.bounding.box
Author(s)
Charles Dupont
See Also
nchar, stringDims
Examples
a <- c("this is a single line string", "This is a\nmulty line string")
stringDims(a)
string.break.line
Break a String into Many Lines at Newlines
Description
Takes a string and breaks it into seperate substrings where there are newline characters.
Usage
string.break.line(string)
Arguments
string
character vector to be separated into many lines.
Value
Returns a list that is the same length of as the string argument.
Each list element is a character vector.
Each character vectors elements are the split lines of the corresponding element in the string
argument vector.
Author(s)
Charles Dupont
Related documents
The Hmisc Package
An Introduction to S and the Hmisc and Design Libraries
An Introduction to S and the Hmisc and Design Libraries
Computer user interface architecture that saves a user`s non
Latency locator
01-03APERTURE
Product Reference Guide Product Reference Guide 2009
TranScan/8583 - TranScan/LAN
TranScanLAN Response Time Reporter User`s Manual
Networked peripheral for visitor greeting
LTR-NET SERVICE MANUAL ADDENDUM, PART NO. 001