strcharStrings:Conversionstrcharstrchar
Return the ASCII code of a character in a string
Description
Return the ASCII code of the character in Sstr at ipos (defaults to zero
which means the first character), or zero if ipos is out of range.
strchar runs at init time only.
Syntaxichr strchar Sstr[, ipos]Examples
Here is an example of the strchar opcode. It uses the file strchar.csd.
Example of the strchar opcode.See the sections Real-time Audio and Command Line Flags for more information on using command line flags.See AlsoString Conversion OpcodesCreditsAuthor: Istvan Varga2006