Quantcast
Channel: Active questions tagged visual-studio-code - Stack Overflow
Viewing all articles
Browse latest Browse all 99677

Get line of Strings into "array"

$
0
0

I have often lines of strings in VSCode, but would need an array for PowerShell or SQL.

I have in VSCode

line1
line2
line3

I would need somthing like that in Vscode

('line1','line2','line3')

Resulting in

Select * from Table where Column in ('line1','line2','line3')

or

$a = @('line1','line2','line3')

Is there an function / extension for this?


Viewing all articles
Browse latest Browse all 99677

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>