Python Cut String po postaci
a_string = "ab-cd"
split_string = a_string.split("-", 1)
substring = split_string[0]
print(substring)
Strange Shrike
a_string = "ab-cd"
split_string = a_string.split("-", 1)
substring = split_string[0]
print(substring)