We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent baf2dbc commit 89bc33dCopy full SHA for 89bc33d
README.md
@@ -19,7 +19,7 @@ import ( "github.com/linkdotnet/golang-stringbuilder" )
19
20
## Quickstart
21
22
-The API is derived from the C# `StringBuilder`. You can easily append strings or single runes.
+The API derives from the C# `StringBuilder`. You can easily append strings or single runes.
23
24
```golang
25
func main() {
@@ -29,4 +29,11 @@ func main() {
29
sb.Append("World")
30
fmt.Println(sb.ToString())
31
}
32
+```
33
+
34
+Also more advanced use cases where you want to insert an arbitrary word at an arbitrary position are possible.
35
+```golang
36
+sb := NewStringBuilderFromString("Hello World")
37
+sb.Insert(5, " my dear")
38
+output := sb.ToString() // Hello my dear World
39
```
0 commit comments