strcompress

fun strcompress(source: String): String

Makes a copy of a string replacing C string-style escape sequences with their one byte equivalent:

func@GLib.strescape does the reverse conversion.

Return

a newly-allocated copy of @source with all escaped character compressed

Parameters

source

a string to compress