strsub Strings:Manipulation strsub strsub Extract a substring Description Return a substring of the source string. strsub runs at init time only. Syntax Sdst strsub Ssrc[, istart[, iend]] Initialization istart (optional, defaults to 0) -- start position in Ssrc, counting from 0. A negative value means the end of the string. iend (optional, defaults to -1) -- end position in Ssrc, counting from 0. A negative value means the end of the string. If iend is less than istart, the output is reversed. Examples Here is an example of the strsub opcode. It uses the file strsub.csd. Example of the strsub opcode. See the sections Real-time Audio and Command Line Flags for more information on using command line flags. See Also String Manipulation Opcodes Credits Author: Istvan Varga 2006