Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Getting 1 character of a string of numbers

  • Getting 1 character of a string of numbers

    Posted by Tommie Retera on July 4, 2019 at 7:31 am

    I got this price from a .json, so now the slider is giving me 6, which is good. But i rather have something where i can put in the price, for example 570, and tell the second slider to get this price and show only the 7. Is this possible with splitting or something?

    Thank you

    eval("var data=" + footage("data.json").sourceText);

    hoogte = (data.jpstand1);

    //JSON:

    "jpstand1": "6",
    "jpstand2": "0",
    "jpstand3": "0",
    "jpstand4": "0",
    "jpstand5": "0",
    "jpstand6": "0",
    "jpstand7": "0",
    "jpstand8": "0",

    Tomas Bumbulevičius replied 6 years, 10 months ago 2 Members · 1 Reply
  • 1 Reply

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