IS there a way to subtract two strings?
let string1 = 'heeloo'; let string2 = 'helo'; let subtractStr = string1 - string2;
I want it to return an array/string with the leftover words - ‘eo’ in this case.
[Its fine if string2 has any extra characters since that will be invalidated. The main string here is string1] .