Forum Replies Created

  • Matt Dernlan

    August 20, 2013 at 5:37 pm in reply to: Quotation Marks in a String

    Well I am clearly out of my depth here with curly vs straight. So in my expressions, I’m using all straight quotes, but I need to match back to curly somehow? The ideal would be to be able to match to curly, since that is apparently the default, so if someone types a quote into that layer, it would match back without special formatting needed.

    Or would there be a way to automatically change the quotes to straight? I’m already changing everything to lowercase at the moment just for matching purposes.

    I’ll do a little googling but curly vs straight is never something I’ve run into.

  • Matt Dernlan

    August 20, 2013 at 4:40 pm in reply to: Quotation Marks in a String

    Sure, sorry about the delay.

    Also, sorry about the string….. it’s for testing purposes, and you know how you can go a little crazy 40 lines in…

    ——
    abc, 123, ba”aaaby 🙂 you and me gurl!
    ——

    Just copied and pasted that straight out of the text layer in AE.

  • Matt Dernlan

    August 20, 2013 at 12:54 am in reply to: Quotation Marks in a String

    Hmm… when I do that, I don’t receive an error, but my output is 0, which is the final “else” in my if/else statement. It’s as if it’s recognizing that it’s valid, but not returning the correct value.

    I should add that it is comparing to literally one character at a time. So it is looking at just a set of quotation marks, or just one letter, so there shouldn’t be much room for error. I’m doing this using offset and pointing a variable to a layer’s source text that is displaying just the one letter at a time.

    I could copy all the code in here, but I have lots of layers involved that depend on each other, so I thought it would be easier to understand by breaking it down to basics. If you need more information please let me know.

    Matt

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy