NECI
Documentation
Source Files
Modules
Procedures
Abstract Interfaces
Derived Types
Namelists
Program
replace
Function
12 statements
Source File
fortran_strings.F90
fortran_strings
replace
Contents
public pure function replace(in_str, old, new) result(string)
Replaces old with new in
in_str
Arguments
Type
Intent
Optional
Attributes
Name
character(len=*),
intent(in)
::
in_str
character(len=1),
intent(in)
::
old
character(len=1),
intent(in)
::
new
Return Value
character(len=len_trim(in_str))