TrimStart Function

Syntax

String TrimStart(String untrimmedString, [String charsToTrim])

Return Value

String

The trimmed string.

Purpose

This function removes all leading whitespace or specified characters from a string.

Parameters

untrimmedString as String

The string to trim.

charsToTrim as String

(Optional) Pass a string containing specific characters to remove instead of white space.