Skip to content

Commit c8fa8a5

Browse files
aman-godarajvdp1
andauthored
Version meta-data for ford
Co-authored-by: Jeremie Vandenplas <[email protected]>
1 parent 5e176cd commit c8fa8a5

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

doc/specs/stdlib_strings.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ end program demo_replace_all
389389

390390
#### Description
391391

392-
Returns the number of times substring `pattern` has occurred in the input string `string`.
392+
Returns the number of times the substring `pattern` has occurred in the input string `string`.
393393
If `consider_overlapping` is not provided or is set to `.true.` the function counts two overlapping occurrences of substring `pattern` as two different occurrences.
394394

395395
#### Syntax

src/stdlib_strings.f90

+2-1
Original file line numberDiff line numberDiff line change
@@ -93,10 +93,11 @@ module stdlib_strings
9393
module procedure :: replace_all_char_char_char
9494
end interface replace_all
9595

96+
!> Version: experimental
97+
!>
9698
!> Returns the number of times substring 'pattern' has appeared in the
9799
!> input string 'string'
98100
!> [Specifications](../page/specs/stdlib_strings.html#count)
99-
!> Version: experimental
100101
interface count
101102
module procedure :: count_string_string
102103
module procedure :: count_string_char

0 commit comments

Comments
 (0)