summaryrefslogtreecommitdiff
path: root/stringfunc_test.go
AgeCommit message (Collapse)Author
2017-06-13Creating a strings namespaceDave Henderson
Signed-off-by: Dave Henderson <dhenderson@gmail.com>
2017-05-18Add "replaceAll" function and documentationJames Nugent
This commit adds a `replaceAll` function which takes three arguments - an original string, the substring to replace, and the string with which to replace it. This is of particular use when generating node names from IP addresses where the node name may not contain "." characters.