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


Contents


Module Procedures

private elemental function reverse_string(string) result(reversed_string)

Reverse the character sequence hold by the input string

Arguments

Type IntentOptional AttributesName
type(string_type), intent(in) :: string

Return Value type(string_type)