$strTrim = Alltrim (<String>)
Removes all the
leading and trailing white-space characters from the specified string.
string for which the leading and trailing white spaces, tabs, carriage return and line feeds are to be removed.
The string with
the leading and trailing white spaces removed.
- This has the
same effect as Ltrim(Rtrim(<String>))
$Str = " Hello, World "
$NewStr = Alltrim($Str)
- $NewStr now
contains "Hello, World".