The %.*@ works - but the parameter needs to be an MCRange* rather than a number. i.e. %.*@ allows you to add copy in a substring of an MCStringRef, without having to create one first.