Removes a range of characters from the string.
Removes a range of characters from the string.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | str |
The string on which to operate. |
||
| integer(kind=int32), | intent(in), | optional | :: | start |
OPTIONAL: The starting index. The default is 1. |
|
| integer(kind=int32), | intent(in), | optional | :: | finish |
OPTIONAL: The finishing index. The default is len(str) |
The resulting string.
Removes a range of characters from the string.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(string), | intent(in) | :: | str |
The string on which to operate. |
||
| integer(kind=int32), | intent(in), | optional | :: | start |
OPTIONAL: The starting index. The default is 1. |
|
| integer(kind=int32), | intent(in), | optional | :: | finish |
OPTIONAL: The finishing index. The default is len(str) |
The resulting string.
Removes the first occurrence of the specified substring from the string.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | str |
The string from which to remove the substring. |
||
| character(len=*), | intent(in) | :: | substr |
The substring to remove. |
The resulting string.
Removes the first occurrence of the specified substring from the string.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | str |
The string from which to remove the substring. |
||
| type(string), | intent(in) | :: | substr |
The substring to remove. |
The resulting string.
Removes the first occurrence of the specified substring from the string.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(string), | intent(in) | :: | str |
The string from which to remove the substring. |
||
| character(len=*), | intent(in) | :: | substr |
The substring to remove. |
The resulting string.
Removes the first occurrence of the specified substring from the string.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(string), | intent(in) | :: | str |
The string from which to remove the substring. |
||
| type(string), | intent(in) | :: | substr |
The substring to remove. |
The resulting string.