Quartz Composer JavaScript Reference © Cybero Designs  

slice

Type Method
Format string. Slice (start position, end position)
Commentary
only the range specified string. The first character position to the left of 0, since the next one will be an increase.
Sample code - QC 2 JavaScript
str = "ABCDEFG";
outputs [0] = str.slice (2,5);
Sample code - QC 3 JavaScript
function (__string output) main ()
{
var result = new Object();
str = "ABCDEFG";
result.output = str.slice(2,5);
return result;
}

Return to the Start Page