dm_lua_escape Function

public function dm_lua_escape(string) result(escaped)

Escapes passed character string by replacing each occurance of \ with \\.

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: string

String to escape.

Return Value character(len=:), allocatable

Escaped string.