Hello I am trying to remove part of a string from specific expression. For example:
string = "Hello my name is John and I would like to eat pizza"
string.removeTillTheEnd(string, "John")
now string will be Hello my name is
replace function is not enough...