How to linebreak long string constructs ?
Posted
by iFloh
on Stack Overflow
See other posts from Stack Overflow
or by iFloh
Published on 2010-05-11T13:40:28Z
Indexed on
2010/05/11
13:44 UTC
Read the original article
Hit count: 481
I am editing SQLite SQL statements of substantial length.
How can I break these into several lines to allow comfortablt editing?
const char *sql = "SELECT arguments arguments arguments arguments arguments arguments arguments arguments arguments arguments FROM a, b, WHERE condition condition condition condition condition condition condition"
into
const char *sql = "SELECT arguments arguments arguments arguments arguments
arguments arguments arguments arguments arguments
FROM a, b
WHERE condition condition condition"
cheers
© Stack Overflow or respective owner