dm_lua_escape Function

public function dm_lua_escape(str) result(res)

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

Arguments

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

String to escape.

Return Value character(len=:), allocatable

Escaped string.