Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
State more clearly that substr-eq matches substring exactly
  • Loading branch information
Paul Cochrane committed Jun 8, 2015
1 parent 1ce879c commit e792986
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Type/Str.pod
Expand Up @@ -457,7 +457,7 @@ Examples:
multi method substr-eq(Str:D: Str(Cool) $test-string, Int(Cool) $from) returns Bool
multi method substr-eq(Cool:D: Str(Cool) $test-string, Int(Cool) $from) returns Bool
Returns C<True> if the C<$test-string> matches the C<String> object,
Returns C<True> if the C<$test-string> exactly matches the C<String> object,
starting from the given initial index C<$from>. For example, beginning with
the string C<"foobar">, the substring C<"bar"> will match from index 3:
Expand Down

0 comments on commit e792986

Please sign in to comment.