{"modulePath":"github.com/acoderup/goctl","version":"v1.1.7","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package stringx\n\n## Variables\n\n```go\nvar WhiteSpace = []rune{'\\n', '\\t', '\\f', '\\v', ' '}\n```\n\n## Functions\n\n```go\nfunc ContainsAny(s string, runes ...rune) bool\n```\n\n```go\nfunc ContainsWhiteSpace(s string) bool\n```\n\n```go\nfunc IsWhiteSpace(text string) bool\n```\n\n## Types\n\n```go\ntype String struct {\n\t// contains filtered or unexported fields\n}\n```\nString  provides for converting the source text into other spell case,like lower,snake,camel\n\n```go\nfunc From(data string) String\n```\nFrom converts the input text to String and returns it\n\n```go\nfunc (s String) IsEmptyOrSpace() bool\n```\nIsEmptyOrSpace returns true if the length of the string value is 0 after call strings.TrimSpace, or else returns false\n\n```go\nfunc (s String) Lower() string\n```\nLower calls the strings.ToLower\n\n```go\nfunc (s String) ReplaceAll(old, new string) string\n```\nReplaceAll calls the strings.ReplaceAll\n\n```go\nfunc (s String) Source() string\n```\nSource returns the source string value\n\n```go\nfunc (s String) Title() string\n```\nTitle calls the cases.Title\n\n```go\nfunc (s String) ToCamel() string\n```\nToCamel converts the input text into camel case\n\n```go\nfunc (s String) ToSnake() string\n```\nToSnake converts the input text into snake case\n\n```go\nfunc (s String) Untitle() string\n```\nUntitle return the original string if rune is not letter at index 0\n\n```go\nfunc (s String) Upper() string\n```\nUpper calls the strings.ToUpper\n\n","path":"github.com/acoderup/goctl/util/stringx","name":"stringx","synopsis":"","isRedistributable":true}
