Declaración
func Split(target string, sepStr string) List<string>
go
Parámetros
Entrada
Regresar
Tipo | Descripción |
---|---|
ListT_String | The output string list, always ends with a half-width space element |
Use the specified string as the delimiter to cut the target string into several slices and output the new string. N consecutive delimiters will be cut into N-1 half-width spaces as string list elements.
func Split(target string, sepStr string) List<string>
go
Tipo | Descripción |
---|---|
ListT_String | The output string list, always ends with a half-width space element |