If I declared a variable $myString with the value \'3 \' (notice the white space). Is there any function to remove the white space for the return v
$myString
\'3 \'
Remove spaces from variable $test (eq rtrim(ltrim(@sStr)) from Transact SQL:
$test (eq rtrim(ltrim(@sStr))
$test =~s/^\s*(\S*)\s*$/$1/;