Toggle navigation
NECI
Documentation
Contents
Source Files
Modules
Procedures
Abstract Interfaces
Derived Types
Program
Source Files
Modules
Procedures
Abstract Interfaces
Derived Types
Program
count_char
Function
10 statements
Source File
fortran_strings.F90
fortran_strings
count_char
Contents
public pure function count_char(str, char) result(c)
@brief Count the occurence of a character in a string.
Arguments
Type
Intent
Optional
Attributes
Name
character(len=*),
intent(in)
::
str
character(len=1),
intent(in)
::
char
Return Value
integer
Contents