string.replace on multiple words within a block of text ???
My text file is layed out like so...
##keyword1## is the best product ever made. ##keyword2## is the best product never eaten.
The macro to replace keyword1 looks like so....
{-String.Replace-|-{-FieldData.FieldData-|-●5●7●8●0●9●1●-|-≡1≡8≡3≡3≡4≡9≡3≡6≡6≡1≡-}-|- ##keyword1##-|-{-FieldData.FieldData-|-●5●7●8●0●9●1●-|-≡4≡6≡8≡3≡9≡1≡6≡6≡7≡935436431-}-}
can I put more than one replacement within one macro to process the entire block in one (or a few) step ??
for example:
{-String.Replace-|-{-FieldData.FieldData-|-●5●7●8●0●9●1●-|-≡1≡8≡3≡3≡4≡9≡3≡6≡6≡1≡-}-|- ##keyword1##-|-{-FieldData.FieldData-|-●5●7●8●0●9●1●-|-≡4≡6≡8≡3≡9≡1≡6≡6≡7≡935436431-}-{-FieldData.FieldData-|-●5●7●8●0●9●1●-|-≡1≡8≡3≡3≡4≡9≡3≡6≡6≡8≡-}-|- ##keyword2##-|-{-FieldData.FieldData-|-●5●7●8●0●9●1●-|-≡4≡6≡8≡3≡9≡1≡6≡6≡7≡935436438-}-}
My text file is layed out like so...
##keyword1## is the best product ever made. ##keyword2## is the best product never eaten.
The macro to replace keyword1 looks like so....
{-String.Replace-|-{-FieldData.FieldData-|-●5●7●8●0●9●1●-|-≡1≡8≡3≡3≡4≡9≡3≡6≡6≡1≡-}-|- ##keyword1##-|-{-FieldData.FieldData-|-●5●7●8●0●9●1●-|-≡4≡6≡8≡3≡9≡1≡6≡6≡7≡935436431-}-}
can I put more than one replacement within one macro to process the entire block in one (or a few) step ??
for example:
{-String.Replace-|-{-FieldData.FieldData-|-●5●7●8●0●9●1●-|-≡1≡8≡3≡3≡4≡9≡3≡6≡6≡1≡-}-|- ##keyword1##-|-{-FieldData.FieldData-|-●5●7●8●0●9●1●-|-≡4≡6≡8≡3≡9≡1≡6≡6≡7≡935436431-}-{-FieldData.FieldData-|-●5●7●8●0●9●1●-|-≡1≡8≡3≡3≡4≡9≡3≡6≡6≡8≡-}-|- ##keyword2##-|-{-FieldData.FieldData-|-●5●7●8●0●9●1●-|-≡4≡6≡8≡3≡9≡1≡6≡6≡7≡935436438-}-}