Replacement & Manipulation
Replace, repeat, clone strings
| Function | What it does |
|---|---|
strings.Clone | Clone string (independent copy) |
strings.Repeat | Repeat string n times |
strings.Replace | Replace first n occurrences (-1 for all) |
strings.ReplaceAll | Replace all occurrences |