Purpose:
Removes spaces or other character strings at the beginning and end of the string. If the second parameter is specified, all characters contained in this string up to the first character not contained are removed. See also Ltrim$ and Rtrim$.
Parameter:
String Source string
String (optional) String that contains all characters that are to be removed up to the first character not contained in the source string. Default: blank space.
Return value:
String
Example:
Atrim$(' Hello World ') Result: 'Hello World'
Atrim$('Hello World','World ') Result: 'He'