Trim - removing leading and trailing white spaces with Perl - Perl strip trailing whitespace

61.62% | 249 votes

(~ s/^\s+|\s+$//): It removes extra space from both sides of the string. In some other languages there are functions called ltrim and rtrim to remove spaces and tabs from the beginning and from the end of a string respectively.

Categories: Girls in thongs


By Fekazahn - 17:56
Removing unwanted spaces from a string can be used to store only the required data and to remove the unnecessary trailing spaces. This can be done using.
By Arashijinn - 20:05
Here's one approach using a regular expression: $string =~ s/^\s+|\s+$//g ; # remove both leading and trailing whitespace. Perl 6 will include a.
By Tygogis - 15:46
Since this is such a commonly done affair its best to define small functions, say trim (to remove leading and trailing whitespace), trimstart (to.

Related Videos

Mature mom taboo pics
7530 306 21:15 HD
Dick gerkin
1970 257 11:16 HD
Colombianas xxx videos
9652 168 08:51 HD
Nudist img board
4307 199 16:10 HD
Free trailers of gay men
1348 94 07:45 HD
Solejob footjob
9636 82 23:38 HD
Down syndrome girls get naked
4087 442 05:27 HD