- SEE ALSO
- COPYRIGHT AND LICENSE
String::Trim::NonRegex - String trimming functions that do not use regex
This document describes version 0.002 of String::Trim::NonRegex (from Perl distribution String-Trim-NonRegex), released on 2021-06-23.
For testing/benchmarking purpose only. In general, regex is faster in this case (see benchmark in "SEE ALSO").
my $trimmed = ltrim($str);
Trim whitespaces (including newlines) at the beginning of string.
my $trimmed = rtrim($str);
Trim whitespaces (including newlines) at the end of string.
my $trimmed = trim($str);
ltrim + rtrim.
Please visit the project's homepage at https://metacpan.org/release/String-Trim-NonRegex.
Source repository is at https://github.com/perlancar/perl-String-Trim-NonRegex.
Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=String-Trim-NonRegex
When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.
This software is copyright (c) 2021 by firstname.lastname@example.org.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.