Declaration
func Split(target string, sepStr string) List<string>
go
Parameters
Input
Return
Type | Description |
---|---|
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
Type | Description |
---|---|
ListT_String | The output string list, always ends with a half-width space element |