Description Usage Arguments Value Author(s) Examples
replacechar
replaces a character in a string by another, deprecated!
1 2 | replacechar(str, char = "_", newchar = ".")
# is gsub(char, newchar,str)
|
str |
The string to be altered. |
char |
The character to be replaced. |
newchar |
The character to replace with. |
The altered string.
Christian W. Hoffmann <christian@echoffmann.ch> adapted from tjoelker@redwood.rt.cs.boeing.com (Rod Tjoelker 865-3197)
1 2 | replacechar("my_queer_file,name") # "my.queer.file,name"
replacechar("my_queer_file,name","m","M") # "My.queer.file,naMe"
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.