Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • CreatiCode
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

CreatiCode Scratch Forum

  1. CreatiCode Forum
  2. Help
  3. Newline?

Newline?

Scheduled Pinned Locked Moved Help
5 Posts 2 Posters 849 Views
  • 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.
  • E Offline
    E Offline
    Ellison
    wrote on last edited by ellisoncm-23627157
    #1

    Hello! I’m trying to replace certain characters with a newline using \\n and it seems to work; however, it leaves a stray ‘\’.

    Example:
    Apples\
    Bananas\
    Orange

    Is there a way this can be fixed?

    CreatiCodeI 1 Reply Last reply
    0
    • E Ellison

      Hello! I’m trying to replace certain characters with a newline using \\n and it seems to work; however, it leaves a stray ‘\’.

      Example:
      Apples\
      Bananas\
      Orange

      Is there a way this can be fixed?

      CreatiCodeI Offline
      CreatiCodeI Offline
      CreatiCode
      wrote on last edited by
      #2

      @ellisoncm-23627157

      Which block are you using? Can you show your program or the project link?

      E 1 Reply Last reply
      0
      • CreatiCodeI CreatiCode

        @ellisoncm-23627157

        Which block are you using? Can you show your program or the project link?

        E Offline
        E Offline
        Ellison
        wrote on last edited by ellisoncm-23627157
        #3

        @info-creaticode image_2025-12-09_225556071.png

        I also tried it with a string of just “hello&&this&&is&&an&&example” and it gives back:

        hello\
        this\
        is\
        an\
        example

        CreatiCodeI 2 Replies Last reply
        0
        • E Ellison

          @info-creaticode image_2025-12-09_225556071.png

          I also tried it with a string of just “hello&&this&&is&&an&&example” and it gives back:

          hello\
          this\
          is\
          an\
          example

          CreatiCodeI Offline
          CreatiCodeI Offline
          CreatiCode
          wrote on last edited by
          #4

          @ellisoncm-23627157

          We will put in a fix so it works when you replace “&&” with “\n”.

          1 Reply Last reply
          0
          • E Ellison

            @info-creaticode image_2025-12-09_225556071.png

            I also tried it with a string of just “hello&&this&&is&&an&&example” and it gives back:

            hello\
            this\
            is\
            an\
            example

            CreatiCodeI Offline
            CreatiCodeI Offline
            CreatiCode
            wrote on last edited by
            #5

            @ellisoncm-23627157

            You can now use “\n” like this:

            2044ff19-647e-4318-b6ae-d86f3f9f36eb-image.png

            1 Reply Last reply
            0

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • CreatiCode