Description Usage Arguments Value
Scans the lines and changes the value for the named tag if one line has this tag, adds a line at the end if no line has this tag and returns a warning if several lines match the tag.
1 | replace_tag(fileStrings, tag, newVal)
|
fileStrings |
A vector with each string containing a line of the file |
tag |
A string with the tag to be searched for |
newVal |
A string with the new value for the tag |
The vector of strings with the new value
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.