TrimStart Function
- 已更新2025-07-21
- 閱讀時間為 1 分鐘
TrimStart Function
Syntax
String TrimStart(String untrimmedString, [String charsToTrim])
Return Value
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.