StripPadChar

Description

Removes a specified pad character from the beginning of a specified string and returns the modified value. If the original string contains fewer pad characters than are specified for StripCount, the original string value is returned.

Syntax

StripPadChar(String: String, PadChar: String, StripCount: Integer): String

String is the string value on which to perform the function.

PadChar is the character to use for padding the string.

StripCount is an integer specifying the number of characters to remove from the string. Zero removes all padded characters.

Example

StripPadChar(0003333,0,6)

The return value is 3333.