Description Usage Arguments Author(s) Examples
Given a string, and a starting position, this function will enlarge the string to include additional characters.
1 | addchar(string, characters, position)
|
string |
Character. A string of class |
characters |
Character. A string containing the additional characters to insert. |
position |
Numeric. The position within |
Ryan Kyle, ryan.kyle@mail.mcgill.ca
1 2 3 4 5 | # Returns "The quick brown fox jumps over the lazy dog."
orig_string <- "The brown fox jumps over the lazy dog."
new_string <- "quick "
addchar(orig_string, new_string, 4)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.