gitlab.com/evatix-go/core@v1.3.55/corecsv/RangeNamesWithValuesIndexesString.go (about) 1 package corecsv 2 3 import "strings" 4 5 // RangeNamesWithValuesIndexesString 6 // 7 // Returns a new slice to joined 8 // string using RangeNamesWithValuesIndexes 9 // 10 // format 11 // - `name[ValueIndex]` + joiner 12 // example 13 // - `SomeName[1]` + joiner 14 func RangeNamesWithValuesIndexesString( 15 joiner string, 16 rangedItems ...string, 17 ) string { 18 return strings.Join( 19 RangeNamesWithValuesIndexes(rangedItems...), 20 joiner) 21 }