RTrim method
Prototype
RTrim Proto lpszString:LPSTR
Syntax
Invoke RTrim, lpszString
Function
Trims all space and tab characters from the right.
Parameters
lpszString
Pointer to the effective address of the null-terminated string to be right-trimmed.
Return value
Eax = The length, in characters, of the right-trimmed string.
REMARKS: The RTrim
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 RTrimA to trim ANSI strings in Unicode
applications, or RTrimW to trim Unicode strings in ANSI
applications.