Pull code snippet into a const

It's dangerous to try to find a file on disk. Who knows where your
binary is and where your source code is.
Check for strings in BinaryExpr and IndexExpr

Two more cases we did not think of yesterday.

[#71156874]