User Tools

Site Tools


chrq

Table of Contents

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

Synopsis:

$chrq(<list of codepoints>)

Technical:

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.

Examples:

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