www.fromthevalley.com.au

Trim Space using Perl



my $var = '   Peroni is a great beer    ';

$var =~ s/^\s+//;
$var =~ s/\s+$//;


print "***".$var."***\n";
HOMEAJAXAPACHEBizphoneCSSDNSGeneralGraphicsHTMLHardwareJavascriptLinuxMACMS SQLMailMicrosoftOFFICE 365PerlPostgresSEOSocial MediaVMwareWindows 10