append() merge two space separated lists problem
See original GitHub issueHi
When I use the append()
function to merge two space separated list with comma, it returns three sub-lists rather than two. But if I merge the two lists via @for
loop, that works fine. Any idea please?
Issue Analytics
- State:
- Created 9 years ago
- Comments:21 (1 by maintainers)
Top Results From Across the Web
Merge two sorted linked lists - GeeksforGeeks
The task is to merge both of the lists (in place) and return the head of the merged list.
Read more >sass - Creating a comma-separated list of space-separated lists
So i use append() . My problem is that append() breaks the first list, producing ( 1, 2, (3 4) ) .
Read more >sass:list
Use list.append() instead to add a single value to a list. Only use list.join() to combine two lists together into one. If $separator...
Read more >Split and Join - Python 3 Notes
On this page: .split(), .join(), and list(). Splitting a Sentence into Words: .split(). Below, mary is a single string. Even though it is...
Read more >Joining bash arguments into single string with spaces
I believe that this does what you want. It will put all the arguments in one string, separated by spaces, with single quotes...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
To create a new list out of two lists, use
join()
. It will enforce certain separator type between all items.To create a list of lists, simply use a comma.
Demo: http://sassmeister.com/gist/ee2b7f15d647d3a97405
@chriseppstein Thank you so much, I understand now.