Documentation for routine
trim-leading assembled from the following types:
sub trim-leading(Str(Cool))method trim-leading()
Coerces the invocant (or in sub form, its argument) to Str, and returns the string with leading whitespace stripped.
my = ' abc '.trim-leading;say "<$stripped>"; # OUTPUT: «<abc >␤»
method trim-leading(Str: --> Str)
Removes the whitespace characters from the beginning of a string. See also trim.