set.String: Sets a new value of this string

Description Usage Arguments Author(s) Examples

Description

Sets a new value of this string.

Usage

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

Arguments

value

The new string to used.

Author(s)

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

Examples

1
2
  s1 <- String("Hello world!")
  s1$set("Hello there!")

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