Copies a string to a traditional Fortran character(len = *) string or vice-versa.
Assigns a string to a character array.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(out) | :: | lhs |
The string to which lhs is assigned. |
||
| type(string), | intent(in) | :: | rhs |
The string to copy. |
Assigns a character array to a string type.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(string), | intent(out) | :: | lhs |
The string object to which rhs is assigned. |
||
| character(len=*), | intent(in) | :: | rhs |
The string to copy. |