stripRight

Cuts off consecutive unnecessary characters from the right side.

  1. string stripRight(string line, char symbol)
    nothrow
    string
    stripRight
    (
    string line
    ,
    in char symbol = ' '
    )
  2. string stripRight(string line, char[] symbols)

Return Value

Type: string

truncated string.

Meta