You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The example is there to show that from the given cutset, only those matching on the left will be removed. just "¡" wouldn't be clear on what happens if ¡ appears elsewhere, eg on the right.
Unlike many projects, the Go project does not use GitHub Issues for general discussion or asking questions. GitHub Issues are used for tracking bugs and proposals only.
What is the URL of the page with the issue?
https://pkg.go.dev/strings#TrimLeft
What is your user agent?
Chrome
Version 103.0.5060.114 (Official Build) (64-bit)
Screenshot
What did you do?
Click on run
Run an example
What did you expect to see?
fmt.Print(strings.TrimLeft("¡¡¡Hello, Gophers!!!", "¡"))
What did you see instead?
fmt.Print(strings.TrimLeft("¡¡¡Hello, Gophers!!!", "!¡"))
The text was updated successfully, but these errors were encountered: