November 4, 2011

How to create a multiline string

 

$myString = @"
This is the first line
This the second line
This is the third line
"@

Note : the @” and the ”@ must be the last symbols on the line.

No comments:

Post a Comment