strings
Strings
'c'
single quotes for characters
"str"
double quotes for strings
Equality
strings.EqualFold(v1, v2) #case insensitive comparison
v1 == v2
String Functions
Function
Example
strings.Contains([toInspect], [substr])
strings.Contains("aba", "ab")
strings.Split(toSplit, split)
strings.Split("12.03", ":")
strings.Contains(toInspect, substr)
strings.Split(toSplit, split)
Conversions
More Complex Objs
Must initialize complex objects(beyond strings)
Wrap initialization in make ft
Last updated