Your task is to write function which takes string and list of delimiters as an input and returns list of strings/characters after splitting given string.

Example:
```python
multiple_split('Hi, how are you?', [' ']) => ['Hi,', 'how', 'are', 'you?']
multiple_split('1+2-3', ['+', '-']) => ['1', '2', '3']
```

List of delimiters is optional and can be empty, so take that into account.

Important note: Result cannot contain empty string.

Source: codewars | Difficulty: EASY
Tags: Fundamentals

Data structures

Starter code: def multiple_split(string, delimiters=[]):
	

Solutions:
def multiple_split(string, delimiters=[]):
	for d in delimiters:
		string = string.replace(d, '###')
	return [s for s in string.split('###') if s]


def multiple_split(s, d=[]):
	for i in d:
		s = s.replace(i, '___')
	return [x for x in s.split('___') if x]


def multiple_split(s, delim=[]):
	if not s and (not delim):
		return []
	if not delim:
		return [s]
	for i in delim:
		s = s.replace(i, ' ')
	return s.split()


def multiple_split(string, delimiters=[]):
	print(string, delimiters)
	if not string:
		return []
	if not delimiters:
		return [string]
	for d in delimiters[1:]:
		string = string.replace(d, delimiters[0])
	tokens = string.split(delimiters[0])
	return [t for t in tokens if t]


def multiple_split(string, delimiters=[]):
	if delimiters == []:
		return [string] if string else []
	for deli in delimiters:
		string = ' '.join(string.split(deli))
	string = string.split(' ')
	return list(filter(None, string))


def multiple_split(s, delimiters=[]):
	if s == '':
		return []
	elif delimiters == []:
		return [s]
	return [w for w in s.translate(''.maketrans(''.join(delimiters), delimiters[0] * len(delimiters))).split(delimiters[0]) if w != '']