String.insertBack

Inserts a single character at the end of the string.

  1. size_t insertBack(char chr)
  2. size_t insertBack(wchar chr)
    struct String
    @nogc pure @trusted
    size_t
    insertBack
    (
    const wchar chr
    )
  3. size_t insertBack(dchar chr)
  4. size_t insertBack(R str)
  5. size_t insertBack(R str)
  6. size_t insertBack(R str)

Parameters

chr wchar

The character should be inserted.

Return Value

Type: size_t

The number of bytes inserted (1).

Meta