Skip to main content

NumMatchStr

This function returns the number of pattern present inside the string.

Interface

INTERFACE
MODULE PURE FUNCTION numMatchStr(chars, pattern) RESULT(Ans)
CHARACTER(*), INTENT(IN) :: chars
CHARACTER(*), INTENT(IN) :: pattern
INTEGER(I4B) :: ans
END FUNCTION numMatchStr
END INTERFACE