# Define Multiline Strings With Heredocs [A _heredoc_ (_here document_) is a special ruby syntax](https://ruby-doc.org/core-2.5.0/doc/syntax/literals_rdoc.html#label-Here+Documents) for defining formatted multiline strings. These are useful for any situation where you need to define a block of text where newlines and indentation are preserved -- e.g. output an error, help message, or some formatted SQL. The standard syntax is defined with `<<` and some uppercase identifier (e.g. `TXT`, `DOC`, `SQL`, etc.) to open and close the multiline string. ```ruby def lookup_team(team_id) query = <