Java equivalent of C#’s verbatim strings with @ January 1, 2023 by Tarik No. Escaping / externalizing the string is your only choice.