Various operations with string arrays for Go