Documentation ¶ Index ¶ func Split2(str string, sep string) (string, string) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Split2 ¶ func Split2(str string, sep string) (string, string) Split2 splits the given string at the given separator, returning the part before and after the separator as two separate return values. If the string does not contain `sep`, the entire string is returned as the first return value. Types ¶ This section is empty. Source Files ¶ View all Source files split.go Click to show internal directories. Click to hide internal directories.