- Go Standard Library Cookbook
- Radomír Sohlich
- 41字
- 2021-06-24 18:56:33
Replacing part of the string
Another very common task related to string processing is the replacement of the substring in a string. Go standard library provide the Replace function and Replacer type for the replacement of multiple strings at once.