minRate = 3; maxRate = 6; charCount = 0; t = inPoint; seedRandom(index,true); while (t < time){ charCount++; t += framesToTime(random(minRate,maxRate)); } value.substr(0,charCount)