Write a function that separates the words of a `string` and puts them in a `string` array.
Write a [function](TODO-LINK) that simulates the behaviour of the `strings.Split` function in Go. `strings.Split` separates the words of a `string` and puts them in a `string` array.
The separators are the characters of the `charset string` given in parameter.