User Tools

Site Tools


Table of Contents

# $EPIC: chrq.txt,v 1.2 2006/10/06 19:08:28 jnelson Exp $


$chrq(<list of codepoints>)


The chrq function is much the same as the chr function, but the result is filtered through ctcp enquoting. Even if the input string contains binary data (including nuls) the output string is safe for assigning to a variable and sending over irc.

All the normal caveats of chr apply to chrq.


$chrq(3 0 10 65)                returns "^C\0\nA"
chrq.txt · Last modified: 2006/10/06 19:08 (external edit)