Documentation
¶
Index ¶
- func ArrToString(strArray []string) string
- func DBracket(s string) string
- func DChevrons(s string) string
- func DCurlies(s string) string
- func DParentheses(s string) string
- func DQuote(s string) string
- func Decode(encodedStr string) string
- func DecodeString(encodedStr string) string
- func Encode(rawStr string) string
- func EncodeString(rawStr string) string
- func LowerFirst(s string) string
- func MakeStringDisplayable(in string) string
- func MakeStringStorable(in string) string
- func PadLeft(s string, p string, l int) string
- func PadRight(s string, p string, l int) string
- func RemoveSpecialChars(in string) string
- func ReplaceWildcard(orig string, replaceThis string, withThis string) string
- func SBracket(s string) string
- func SChevrons(s string) string
- func SCurlies(s string) string
- func SParentheses(s string) string
- func SQuote(s string) string
- func StrArrayToString(inArray []string) string
- func StrArrayToStringWithSep(inArray []string, inSep string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ArrToString ¶
ArrToString converts an array of strings to a printable string
func DParentheses ¶ added in v1.0.24
DParentheses wraps the string in double Parentheses - (())
func DecodeString ¶
DecodeString decodes a base64 encoded string - same as Decode Deprecated: Use Decode instead
func EncodeString ¶
EncodeString encodes a string to base64 - same as Encode Deprecated: Use Encode instead
func MakeStringDisplayable ¶ added in v1.2.7
The function "MakeStringDisplayable" takes a string as input and returns a modified version of the string that is displayable. Replaces {{cr}}/{{lf}} with ascii cr/lf.
func MakeStringStorable ¶ added in v1.2.7
The function "MakeStringStorable" takes a string as input and returns a storable version of the string. Replaces ascii cr/lf with {{cr}}/{{lf}}.
func RemoveSpecialChars ¶
RemoveSpecialChars removes special characters from a string and replaces them with a dash
func ReplaceWildcard ¶
ReplaceWildcard replaces a wildcard {{wildcard}} with a given string
func SParentheses ¶ added in v1.0.24
SParentheses wraps the string in single Parentheses - ()
func StrArrayToString ¶
StrArrayToString converst a string array into a string
func StrArrayToStringWithSep ¶
StrArrayToStringWithSep converts a string array to a string using a given separator
Types ¶
This section is empty.