Jump to content


Photo
Question

Array Elements to List



Best Answer CellSplitter , 05 June 2019 - 04:09 PM

Games.join("\n")

Cool nice that works. Thx for this.

Can u tell me how can i set for every element an •

like


• 730
• 440
• 4000


SOLVED Go to the full post


  • Please log in to reply
2 replies to this topic

#1 CellSplitter

CellSplitter

    Member

  • Member
  • PipPip
  • 20 posts

Posted 05 June 2019 - 03:05 PM

Hey, i have a Problem. I have an Array.

For Example:

let Games = [730,440,4000]

The Array Output looks like: 730,440,4000

But i want an Output like an List without comma and every Array Element in a new Line. That looks so:

730
440
4000

How can i solve this?
Thx in advance ☺

#2 Dr. McKay

Dr. McKay

    Developer

  • Administrator
  • 2,101 posts

Posted 05 June 2019 - 03:40 PM

Games.join("\n")


  • CellSplitter likes this

#3 CellSplitter

CellSplitter

    Member

  • Member
  • PipPip
  • 20 posts

Posted 05 June 2019 - 04:09 PM   Best Answer

Games.join("\n")

Cool nice that works. Thx for this.

Can u tell me how can i set for every element an •

like


• 730
• 440
• 4000


SOLVED

Edited by CellSplitter, 05 June 2019 - 04:29 PM.






Also tagged with one or more of these keywords: Question

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users