The word “แทนที่” [tan tîi] is a verb meaning “to replace” or “to substitute for.” However, “แทนที่จะ” [tan tîi jà] is used as an idiom. It’s usually followed by a verb and it means “instead of (doing something).” For example,
1. ปริ๊นท์เตอร์เราเสีย แทนที่จะปริ๊นท์ออกมาเป็นสี กลับออกมาเป็นสีดำ
[Printer rao sǐa, tan tîi ja print àwk maa pen sǐi, glàp àwk maa pen sǐi dam]
My printer is broken.…