Trim method
Prototype
Trim Proto lpszString:LPSTR
Syntax
Invoke Trim, lpszString
Function
Trims all space and tab characters from the left and right.
Parameters
lpszString
Pointer to the effective address of the null-terminated string to be trimmed.
Return value
Eax = The length, in characters, of the trimmed string.
REMARKS: The Trim method
expects lpszString to be a Unicode string if the application is running as Unicode, or an ANSI
string if not (see the IsAppUnicode method).
You can call TrimA to trim ANSI strings in Unicode applications,
or TrimW to trim Unicode strings in ANSI applications.