I pretty often want to take a range out of a string that starts at a keyword and ends with another. Typically when reading a config-file or mining data out of an HTML-page.
Like this: > "foo bar gazonk"["o".."gaz"]; Result: "oo bar gaz" > "foo bar gazonk"["o".."o"]; Result: "o" > "foo bar gazonk"["gurka".."o"]; Result: "" > "foo bar gazonk"["o".."gurka"]; Result: "oo bar gazonk" > "gazonk foo bar gazonk"["o".."gaz"]; Result: "onk foo bar gaz" (Excuse me if I've missed if this suggestion is already made.)
