hyperPad hyperPad Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Login

    Better way of using variables in text

    Scheduled Pinned Locked Moved
    Comments & Feedback
    1
    1
    328
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • KamdroidK
      Kamdroid
      last edited by Kamdroid

      It would make it so much more convinent if we could include variables in strings more easily.
      Using combine behaviours is too messy, when there are nicer ways of achieving this and with just one behaviour:

      For example:
      "Hello there, " + [user] + ". Today is " + [current date] + "."
      Or
      "Hello there, {0}. Today is {1}." : [user], [current date]

      1 Reply Last reply Reply Quote 1
      • First post
        Last post