question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

System Details

System Details Output

### VSCode version: 1.55.2 3c4e3df9e89829dce27b7b5c24508306b151f30d x64

### VSCode extensions:
MS-CEINTL.vscode-language-pack-zh-hans@1.55.2
ms-vscode.powershell@2021.2.2


### PSES version: 2.3.0.0

### PowerShell version:

Name                           Value
----                           -----
PSVersion                      7.1.3
PSEdition                      Core
GitCommitId                    7.1.3
OS                             Microsoft Windows 10.0.19042
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Issue Description

@"
a
b
c
"@ -split '\n' -join ''

I am experiencing a problem with…

Expected Behaviour

– Description of what should be happening –

abc

Actual Behaviour

– Description of what actually happens –

c

Attached Logs

Follow the instructions in the troubleshooting docs about capturing and sending logs. EditorServices.log StartEditorServices.log vscode-powershell.log

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
andschwacommented, Apr 23, 2021

Oh, you are right @SeeminglyScience. In which case I’m marking this answered. Can’t split on \n if your newlines are actually \r\l. Thanks!

1reaction
andschwacommented, Apr 23, 2021

That’s what I’m thinking too. Just slowly getting my Windows machine updated and back in working order 😅

Read more comments on GitHub >

github_iconTop Results From Across the Web

JOIN: Free ATS & Multiposting Tool to Maximise Hiring Success
Free ATS and multiposting tool to create optimised job ads, multipost to LinkedIn, indeed, social media, and get more candidates faster!
Read more >
Join Definition & Meaning - Merriam-Webster
verb ; 2 · to put or bring into close association or relationship. two people ; 4 · to enter into or engage...
Read more >
SQL Joins - W3Schools
A JOIN clause is used to combine rows from two or more tables, based on a related column between them. Let's look at...
Read more >
JOIN - Connecting the street to a home - Portland, Oregon
JOIN 1435 NE 81st Avenue Portland, OR 97213. If you are a donor or vendor, please send correspondence and donations to our PO...
Read more >
JOIN | definition in the Cambridge English Dictionary
T · ]. to connect or fasten two or more things together: ; I or T ]. to become a member of a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found