trim.end: Remove trailing whitespace from a string.

Description Usage Arguments Value Examples

Description

This function removes trailing whitespace from a string. This is required when reading EDF data, since the data fields in the header are of fixed size, and extra whitespace must hence be trimmed.

Usage

1

Arguments

s

The string to be converted

Value

The string gives as input without trailing whitespace

Examples

1
2
s <- "abc   "
edf:::trim.end(s)

bwrc/edf documentation built on May 13, 2019, 9:14 a.m.