Is there a way to remove some occurrence of a variable within a text without knowing where the variable is in the text ?
IP= DA, null,
var to be removed from the text : ", null,"
I know in this actual example I could trim using this
set newText to text 1 thru -8 of var1
Or even with a text delimiter, but I need to remove the variable from a random text without knowing where the variable is within the text