Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 5e176cd

Browse files
Merge branch 'count' of https://github.com/Aman-Godara/stdlib into count
2 parents d326924 + bf2674e commit 5e176cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/stdlib_strings.f90‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -716,7 +716,7 @@ elemental function count_char_char(string, pattern, consider_overlapping) result
716716

717717
s_i = 1
718718
p_i = 1
719-
do while(s_i <= length_string)
719+
do while(s_i <= length_string)
720720
if (string(s_i:s_i) == pattern(p_i:p_i)) then
721721
if (p_i == length_pattern) then
722722
res = res + 1

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /