toUpperCase.String: Converts all of the characters in this String to upper case

Description Usage Value Author(s) See Also Examples

Description

Converts all of the characters in this String to upper case.

Usage

1
2
## S3 method for class 'String'
toUpperCase(this, ...)

Value

Returns the string, converted to upper case.

Author(s)

Henrik Bengtsson (http://www.braju.com/R/)

See Also

*toLowerCase()

Examples

1
2
3
  s <- String("Hello world!")
  toUpperCase(s)                # "HELLO WORLD!"
  toUpperCase("Hello world!")   # "HELLO WORLD!"

HenrikBengtsson/R.lang documentation built on May 8, 2019, 7:50 p.m.