mkt.databases.utils.split_on_first_only

mkt.databases.utils.split_on_first_only(str_in, delim)[source]

Split string on first occurrence of delim.

Parameters:
  • str_in (str) – Input string to split

  • delim (str) – Delimiter to split on

Returns:

Tuple containing two strings: str1 and str2

Return type:

tuple