String.insertBack

Inserts a single character at the end of the string.

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

Parameters

chr dchar

The character should be inserted.

Return Value

Type: size_t

The number of bytes inserted (1).

Meta