Promotic
WikipediaLinkedInYoutubeTwitterFacebook

Trim - function of language VBScript

Description:
Returns a copy of a string without both leading and trailing spaces.

For the purposes of PROMOTIC system, it is more usefull to use the method: Pm.StringOper("trim").

Syntax:
Trim(string As String) As String
Calling:
s = Trim(string)
Parameters:
string(String) Any valid string expression.
Note:
By this method only "space" chars are removed. Chars, like "new line", "tab", etc., are not removed by this.
Example:
s = Trim(" Promotic ") 's contains "Promotic"
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice