irurzo
12/02/2020, 7:44 PMreplace
? This is an example of the string 3 foot x $0
I want to replace everything after x
so it should be just 3 foot
, I triied this ?replace(r"\sx\s.*", "")
scottvonduhn
12/02/2020, 10:21 PM"r"
. That is needed for it to evaluate the first parameter as a regular expression. Otherwise, it is treated as text.
?replace("\sx\s.*", "", "r")
Mars
12/03/2020, 2:51 AM?keep_before(" x")