- "abcdefghijklmnopqrstuvwxyz" Substitute(klm, KLM)
ergibt: "abcdefghijKLMnopqrstuvwxyz"
- 23.5g Substitute(g, Gramm)
ergibt "23,5 Gramm"; das Objekt auf dem Stack-Top wird vor der Ersetzungsoperation in eine Zeichenkette transformiert
- "abcdefghijklmnopqrstuvwxyz" "klm"
"*" Substitute(STACK, STACK)
- "abcdefghijklmnopqrstuvwxyz" "klm" ""
Substitute(STACK, STACK)
- "abcdefghijklmnopqrstuvwxyz" "" "***"
Substitute(STACK, STACK)
- "fair is foul and foul is fair ..." Substitute(fair,
FAIR)