diff --git a/src/classes/Str.pir b/src/classes/Str.pir index 24c623e2a9e..5db19b1839c 100644 --- a/src/classes/Str.pir +++ b/src/classes/Str.pir @@ -180,18 +180,6 @@ chopped. Related to C, only removes trailing chars that match C. In either case, it returns the number of chars removed. -=item chomp - - our Str method Str::chomp ( Str $string: ) - -Returns string with newline removed from the end. An arbitrary -terminator can be removed if the input filehandle has marked the -string for where the "newline" begins. (Presumably this is stored -as a property of the string.) Otherwise a standard newline is removed. - -Note: Most users should just let their I/O handles autochomp instead. -(Autochomping is the default.) - =item length This word is banned in Perl 6. You must specify units.