Skip to content

Commit e792986

Browse files
committed
State more clearly that substr-eq matches substring exactly
1 parent 1ce879c commit e792986

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Type/Str.pod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ Examples:
457457
multi method substr-eq(Str:D: Str(Cool) $test-string, Int(Cool) $from) returns Bool
458458
multi method substr-eq(Cool:D: Str(Cool) $test-string, Int(Cool) $from) returns Bool
459459
460-
Returns C<True> if the C<$test-string> matches the C<String> object,
460+
Returns C<True> if the C<$test-string> exactly matches the C<String> object,
461461
starting from the given initial index C<$from>. For example, beginning with
462462
the string C<"foobar">, the substring C<"bar"> will match from index 3:
463463

0 commit comments

Comments
 (0)