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
// TrimLeft returns a slice of the string s with all leading
// Unicode code points contained in cutset removed.
//
// To remove a prefix, use TrimPrefix instead.
In other word, cutset is interpreted as a character set, and the longest prefix of s whose characters are all in cutset is chosen and trimmed.
Activity
merykitty commentedon Aug 10, 2023
In other word,
cutsetis interpreted as a character set, and the longest prefix ofswhose characters are all incutsetis chosen and trimmed.