-
Typewriter , remove text using expression substr
HI Guys
I am new to AE, and the expressions and cannot work out the formula to reduce the text after its been written out.
In effect I am trying to produce a few statements which get typed out, then untyped and then another on another layer would be typed.I have the expression from the net which types out the words the first time, but how to do this in reverse after say 1/2 seconds of completing the string?
Thank you for any help.
F = Math.round(time*effect("Blink Speed")("Slider") % 1);
L = X.length;
T = time*effect("Speed")("Slider") - effect("Start At")("Slider")*effect("Speed")("Slider");Cursor = " ";
if (F==1 | T>0) Cursor = "|";
if(F==1 |(T0)){Cursor="|";}else{Cursor=" ";}if (T>0 ) X.substr(0,T) + Cursor
else Cursor