reverse Interface

public interface reverse

Reverses the character sequence hold by the input string

This method is elemental and returns a new string_type instance which holds this reverse character sequence


Module Procedures

private elemental function reverse_string(string) result(reversed_string)

Reverse the character sequence hold by the input string

Arguments

Type IntentOptional Attributes Name
type(string_type), intent(in) :: string

Return Value type(string_type)