Function singleline

Use this to breakup a singleline string in to multiple lines and show the intent of it being one line

string singleline(Strings...)()
if (allOfString!Strings);

Parameters

NameDescription
Strings list of string to concat in to a single string

Since

- 0.10.0

Example

static string var = "booya";
static string func() { return var; }

assert(
    singleline!(
        "this is a singleline string that does not",
        "  span multiple lines yo!",
        var,
        func
    ) == "this is a singleline string that does not  span multiple lines yo!booyabooya"
);