Returns the result of stripping a specified pad character from the beginning of a specified string. The function can strip all instances of the specified character by specifying 0 (zero) as the strip count, or a specific number of characters to strip using a non-zero integer. If the original string contains fewer pad characters than are specified for stripping, this function does not strip non-pad characters.
StripPadChar(AString, PadChar: String, StripCount: Integer): String
StripPadChar(0003333,0,6)
The return value is 3333.