The execution result is missing blank line

Use this forum to ask questions after your subscription maintenance expires or before you buy. Need information on licensing or pricing? Questions about a trial version? This is the right place for you. No scripting questions, please.
Forum rules
DO NOT POST SUBSCRIPTION NUMBERS, LICENSE KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.
This topic is 1 year and 2 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
davider360
Posts: 18
Last visit: Wed Nov 23, 2022 2:35 am

The execution result is missing blank line

Post by davider360 »

Product: PowerShell Studio 2022 (64 Bit)
Build: v5.8.212
OS: Windows 7 Professional (64 Bit)
powershell: v5.1

The execution results of the following code are different in ISE and SPS
I have encountered this situation a lot, looking forward to the developers to review this issue
thanks in advance

Code: Select all

$a = @'
1The first line.
2The second line.
3The third of three lines.
'@
$a -split "^\d", 0, "multiline"
a.png
a.png (13.24 KiB) Viewed 2425 times
2.png
2.png (16.59 KiB) Viewed 2425 times
User avatar
Alexander Riedel
Posts: 8472
Last visit: Mon Mar 18, 2024 2:59 pm
Answers: 19
Been upvoted: 37 times

Re: The execution result is missing blank line

Post by Alexander Riedel »

Thank you for letting us know. We will investigate.
Alexander Riedel
SAPIEN Technologies, Inc.
davider360
Posts: 18
Last visit: Wed Nov 23, 2022 2:35 am

Re: The execution result is missing blank line

Post by davider360 »

Here is another example code with missing blank lines

Code: Select all

1 .. 6 | %{
	"abcd`r`n"
}
Alexander Riedel wrote: Fri Nov 18, 2022 11:48 am Thank you for letting us know. We will investigate.
User avatar
brittneyr
Site Admin
Posts: 1649
Last visit: Mon Mar 18, 2024 1:47 pm
Answers: 38
Been upvoted: 30 times

Re: The execution result is missing blank line

Post by brittneyr »

This issue has been addressed in the next service build of PowerShell Studio.
Brittney
SAPIEN Technologies, Inc.
This topic is 1 year and 2 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.