Hello, i want to delete a string from another string, like the example below:

variable: "daniel" - "niel"

so in my variable i would have "da"

how can i do it??

thanks.