substr function
$(substr, string, start [, length])
Returns a portion of a string given a start character and length.
Example
$(substr,(getvar,cecolor),r,10)
Returns a portion of a string given a start character and length.
$(substr,(getvar,cecolor),r,10)