package strutil

Import Path
	src.elv.sh/pkg/strutil (on go.dev)

Dependency Relation
	imports 3 packages, and imported by 4 packages

Involved Source Files camel_to_dashed.go chop.go eol_sol.go Package strutil provides string utilities. subseq.go
Package-Level Functions (total 5, all are exported)
CamelToDashed converts a CamelCaseIdentifier to a dash-separated-identifier, or a camelCaseIdentifier to a -dash-separated-identifier.
ChopLineEnding removes a line ending ("\r\n" or "\n") from the end of s. It returns itself if it doesn't end with a line ending.
FindFirstEOL returns the index of the first '\n'. When there is no '\n', the length of s is returned.
FindLastSOL returns an index just after the last '\n'.
HasSubseq determines whether s has t as its subsequence. A string t is a subsequence of a string s if and only if there is a possible sequence of steps of deleting characters from s that result in t.