Navigation

    Fuze Arena Logo
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Help
    • Discord

    Escape sequences in strings

    Help
    2
    4
    233
    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.
    • Hitomi
      Hitomi F last edited by Hitomi

      I have found you can use \n for a new line. That's in the examples and tutorials but are there other escapes in string constants? I did not find a list of those. Typically \t is tab and \\ is \

      I was going to experiment to find which worked but I was wondering if that was documented anywhere, and if so where

      1 Reply Last reply Reply Quote 1
      • M
        MikeDX last edited by

        I'm sure only \t and \n are supported but I will check

        1 Reply Last reply Reply Quote 0
        • Hitomi
          Hitomi F last edited by

          I thought I put two \ characters up there. \ is often \

          1 Reply Last reply Reply Quote 0
          • M
            MikeDX last edited by

            The forum code changes two slashes to one. try \\ (enclose with backticks)

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