I have ab array something like this :
const operators = ['<','>','>=','<>','=']
and a string something like this :
const myStr = 'Some Operand > Some Other Operand'
as you see in this string I have >
character that exists in operator array now I want to split string base on operators characters that exisits in array. I know I can do this with regex but i can't figure how to do it