>>153-155
Ruby では、
str = "あ\\\"あ"

p str #=> "あ\\\"あ"
print str #=> あ\"あ

p では全体を、" " で囲んでいるように、文字列の内部表現を見ている。
一方、print では、文字列を外部に表示したもの