How to retain the $ str = "Baidu audio and video $1024 HD Mandarin Chinese version $ bdhd: // 1183200391 | E067EEAB1560E1FDCE2F8927625E4AEF | Iron 3. HD1024 Chinese characters in HD Mandarin. rmvb $ bdhd #1024 $ bdhd: // 1086150825 | d54a602133f6efeb6eb6ee212c618ca1 | iron Xia 3. BD1024 double-byte. rmvb $ bdhd #1280 UHD Chinese/English dual-character MKV version $ bdhd: // 2561208627 | Jun | iron Grand 3.bd1280uhd Chinese/English dual-character .mkv $ bdhd #1280 $ bdhd: // 1479559068 | AFFECBC57E728AA3D335741CB857D0C9 | iron Xia 3. BD1280 double-byte. rmvb $ bdhd $ gggvod: // xlj.2tu. cc: 8089/061 c15a782e4108f4df7ab71d316da6de969a70/1183200391/[Thunder download www.2tu. cc] Iron Man 3. HD1024 Chinese characters in HD Mandarin. rmvb $ gvod #1024 $ gvod: // xlj.2tu. cc: 8089/5 F10D84070A1D5854FA855F51D7B0AAB661FC316/1086150825/[Thunder download www.2tu. cc] Iron Man 3. BD1024 double-byte. rmvb $ gvod #1280 UHD/Chinese/English double-character MKV version $ gvod: // xlj.2tu. cc: 8089/1776 E72DB88ECAA725270302A8F508760D85EB8F/2561208627/latest $ gvod #1280 $ gvod: // xlj.2tu. cc: 8089/C91DCC7E81D9CE99C1103AFB015FB9A6D5B475A9/1479559068/[Thunder download www.2tu. cc] Iron Man 3. BD1280 double-byte. rmvb $ gvod ";
I want to keep $. Why does output disappear? what should I add?
Reply to discussion (solution)
$ Str = '$1 $2 $3 ';
Just use single quotes. strings that do not involve variables use single quotes.
Quotation marks ....