HereString
「HereString」は改行やタブ、引用符を文字列として含めることができます。
変数展開あり/なしの2種類のタイプがあります。
HereString(変数展開あり)
@"[文字列]"@
HTMLヘッダ出力
MSH C:\> $title = "MSH Memo" MSH C:\> @" >> <html> >> <head> >> <title>$title</title> >> </head> >> "@ >> <html> <head> <title>MSH Memo</title> </head>
HereString(変数展開なし)
@'文字列'@
サンプル:文字列展開なし
MSH C:\> $word = "Hello Monad!" MSH C:\> @' >> ################### >> $word >> ################### >> '@ >> ################### $word ###################