Reverse the character sequence hold by the input string
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(string_type), | intent(in) | :: | string |
elemental function reverse_string(string) result(reversed_string) type(string_type), intent(in) :: string type(string_type) :: reversed_string reversed_string%raw = reverse_(maybe(string)) end function reverse_string