Replaces the substring identified by the supplied regular expression pattern with a new substring.
Replaces all instances of a substring within a parent string.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | src |
The string on which to operate. |
||
| character(len=*), | intent(in) | :: | old |
The string to replace. |
||
| character(len=*), | intent(in) | :: | substr |
The new substring. |
The resulting string.
Replaces all instances of a substring within a parent string.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | src |
The string on which to operate. |
||
| character(len=*), | intent(in) | :: | old |
The string to replace. |
||
| type(string), | intent(in) | :: | substr |
The new substring. |
The resulting string.
Replaces all instances of a substring within a parent string.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | src |
The string on which to operate. |
||
| type(string), | intent(in) | :: | old |
The string to replace. |
||
| character(len=*), | intent(in) | :: | substr |
The new substring. |
The resulting string.
Replaces all instances of a substring within a parent string.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | src |
The string on which to operate. |
||
| type(string), | intent(in) | :: | old |
The string to replace. |
||
| type(string), | intent(in) | :: | substr |
The new substring. |
The resulting string.
Replaces all instances of a substring within a parent string.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(string), | intent(in) | :: | src |
The string on which to operate. |
||
| character(len=*), | intent(in) | :: | old |
The string to replace. |
||
| character(len=*), | intent(in) | :: | substr |
The new substring. |
The resulting string.
Replaces all instances of a substring within a parent string.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(string), | intent(in) | :: | src |
The string on which to operate. |
||
| character(len=*), | intent(in) | :: | old |
The string to replace. |
||
| type(string), | intent(in) | :: | substr |
The new substring. |
The resulting string.
Replaces all instances of a substring within a parent string.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(string), | intent(in) | :: | src |
The string on which to operate. |
||
| type(string), | intent(in) | :: | old |
The string to replace. |
||
| character(len=*), | intent(in) | :: | substr |
The new substring. |
The resulting string.
Replaces all instances of a substring within a parent string.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(string), | intent(in) | :: | src |
The string on which to operate. |
||
| type(string), | intent(in) | :: | old |
The string to replace. |
||
| type(string), | intent(in) | :: | substr |
The new substring. |
The resulting string.