# Strings (characters)
{id: strings}


## Substitute first occurence using sub
{id: sub}
{i: sub}

![](examples/strings/replace_substring.R)
![](examples/strings/replace_substring.out)

## Substitute all occurences using gsub
{id: gsub}
{i: gsub}

![](examples/strings/replace_substrings.R)
![](examples/strings/replace_substrings.out)

