Skip to main content

RSTRIP

Strip characters from the right side (end) of a string

Example Usage

RSTRIP("ABC123000", "0") -> "ABC123"
RSTRIP("ABC123000", "03") -> "ABC12"
RSTRIP("ABC123-x!0", "30x!") -> "ABC123-"

Overview

Function signature
RSTRIP(value, chars)

Category
String

Return data type
string

Arguments

NameDataTypeList Options                          Description
valuestringThe string from which to remove trailing characters
charsstringA list of characters to remove; removes all until a non-match is found