strip_escapes()

Remove escape characters from a string.

Synopsis:

#include <asr/cfg.h>
 
char* strip_escapes(char *string)

Arguments:

string

The string to remove quotes from.

Library:

libasr

Description:

The strip_escapes() function removes one level of escape characters from the specified string. For example, "The music you specified can\'t be found" becomes "The music you specified can't be found".

Returns:

The resulting string.