List := "1 строка|2 строка|3 строка"
vVar := "строка"
;~ StringReplace, List, List, %MyList%,
StringReplace, List, List, %vVar%,
StringReplace, List, List, %vVar%,
StringReplace, List, List, %vVar%,
MsgBox, %List%
Вывод:
---------------------------
test.ahk
---------------------------
1 |2 |3
---------------------------
ОК
---------------------------