ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Expression to detect text or number

COW Forums : Adobe After Effects Expressions

FAQ   •   VIEW ALL   •   ADD A NEW POST   •   PRINT
Respond to this post   •   Return to posts index   •   Read entire thread


Omar Reyes
Expression to detect text or number
on Jan 24, 2020 at 7:31:29 pm

I'm working on making an AE template that imports data from a text file. Some fields are text and others are numbers and I have them linked to different text layers and expression controls in my project. This text file will be shared with multiple people and I'm trying to make it so if they accidentally enter a text string where a number is supposed to be, rather than popping up the expression error, it will assign the value as a 0.

Is there an expression to check if the value is a text string or number?


Posts IndexRead Thread 


Current Message Thread:





© 2020 CreativeCOW.net All Rights Reserved
[TOP]