Graphics

 View Only
  • 1.  Remove extra spaces...

    Posted 01-21-2014 13:03
    I've got a few people in the newsroom who are adding spaces before and after some CG's which throws off the spacing. Is there a way to tell Xpression to ignore any spaces before the first character and after the last character in a cg? Thanks!


  • 2.  RE: Remove extra spaces...

    Posted 01-21-2014 14:16
    Try this in the OnSetText script of the text object you don't want leading or trailing spaces on:

    text = trim(text)

    #XPression


  • 3.  RE: Remove extra spaces...

    Posted 01-22-2014 00:05
    That worked perfectly! Thanks, Brian!

    #XPression