Random refactors to use strings.Cut
Since Cut was introduced in go 1.18 these Index then slice operations can typically be made just as efficient and much more readable.
Since Cut was introduced in go 1.18 these Index then slice operations can typically be made just as efficient and much more readable.