Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
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

agnos.is Forums

  1. Home
  2. Ask Lemmy
  3. there is no need for lin2, it contains the same string as line

there is no need for lin2, it contains the same string as line

Scheduled Pinned Locked Moved Ask Lemmy
5 Posts 3 Posters 0 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.
  • R This user is from outside of this forum
    R This user is from outside of this forum
    [email protected]
    wrote on last edited by
    #1

    there is no need for lin2, it contains the same string as line

    ? 1 Reply Last reply
    0
    • R [email protected]

      there is no need for lin2, it contains the same string as line

      ? Offline
      ? Offline
      Guest
      wrote on last edited by Guest
      #2

      if i do that then it comes + ----------------+

      too many dashes

      R 1 Reply Last reply
      0
      • ? Guest

        if i do that then it comes + ----------------+

        too many dashes

        R This user is from outside of this forum
        R This user is from outside of this forum
        [email protected]
        wrote on last edited by
        #3

        Because you still left the second for loop in place? You don't need to do that a second time

        ? 1 Reply Last reply
        0
        • R [email protected]

          Because you still left the second for loop in place? You don't need to do that a second time

          ? Offline
          ? Offline
          Guest
          wrote on last edited by Guest
          #4

          i need the + -----+ below as well

          nvm got it through this https://lemmy.world/post/33912344/18597185

          lumidaub@feddit.orgL 1 Reply Last reply
          0
          • ? Guest

            i need the + -----+ below as well

            nvm got it through this https://lemmy.world/post/33912344/18597185

            lumidaub@feddit.orgL This user is from outside of this forum
            lumidaub@feddit.orgL This user is from outside of this forum
            [email protected]
            wrote on last edited by
            #5

            You still have the string you need in line. So you just print that again.

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

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