TrimLeft in Go

Posted by GoDoc
Public (Editable by Users)

TrimLeft returns a slice of the string s with all leading Unicode code points contained in cutset removed.

Go
Edit
package main

import (
	"fmt"
	"strings"
)

func main() {
	fmt.Print(strings.TrimLeft("¡¡¡Hello, Gophers!!!", "!¡"))
}