| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| integer(kind=int32), | public, | parameter | :: | ascii | = | selected_char_kind('ASCII') |
It replaces a character into another.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(inout) | :: | word | |||
| character(len=*), | intent(in) | :: | keyword | |||
| character(len=*), | intent(in) | :: | to |
It merges two strings.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(string_), | intent(in) | :: | x | |||
| type(string_), | intent(in) | :: | y |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(string_), | intent(in) | :: | x | |||
| character(len=*), | intent(in) | :: | y |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | y | |||
| type(string_), | intent(in) | :: | x |
It assigns a string.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(string_), | intent(out) | :: | x | |||
| character(len=*), | intent(in) | :: | y |
It shows the string in the terminal.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(string_), | intent(in) | :: | this |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(string_), | intent(in) | :: | this(:) |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(string_), | intent(in) | :: | this(:,:) |
It marges two arrays of characters to a string.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | char1 | |||
| character(len=*), | intent(in) | :: | char2 |
It detects whether a array of character is contained in the string or not.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | key | |||
| character(len=*), | intent(in) | :: | chararg |
Derived type for string object.
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| character(len=:), | public, | allocatable | :: | all |
| procedure, public :: char => charString | ../../../ It returns the string to array of character. |
| procedure, public :: str => charString | ../../../ It initializes the string by an array of character. |
| procedure, public :: print => printString | ../../../ It shows the string in the terminal. |
| procedure, public :: lower => lowerString | ../../../ It converts the CAPITAL to the lowercase |
| procedure, public :: upper => upperString | ../../../ It converts the lowercase to the CAPITAL |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(string_), | intent(in) | :: | this |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(string_), | intent(in) | :: | this |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | char1 | |||
| character(len=*), | intent(in) | :: | char2 |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | key | |||
| character(len=*), | intent(in) | :: | chararg |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(string_), | intent(out) | :: | x | |||
| character(len=*), | intent(in) | :: | y |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(string_), | intent(in) | :: | this |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(string_), | intent(in) | :: | this(:) |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(string_), | intent(in) | :: | this(:,:) |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(inout) | :: | word | |||
| character(len=*), | intent(in) | :: | keyword | |||
| character(len=*), | intent(in) | :: | to |