"first line`nsecond line"
The (`n) will add the line break character
PS C:\> "first line`nsecond line" first line second line
"first line`nsecond line"
PS C:\> "first line`nsecond line" first line second line
$animal = 'fox'
'The quick brown $animal jumps over the lazy dog.'
PS C:\> $animal = 'fox' >> 'The quick brown $animal jumps over the lazy dog.' The quick brown $animal jumps over the lazy dog.
$animal = 'FOX'
"The quick brown $($animal.ToLower()) jumps over the lazy dog $(2 + 3) times."
PS C:\> $animal = 'FOX' >> "The quick brown $($animal.ToLower()) jumps over the lazy dog $(2 + 3) times." The quick brown fox jumps over the lazy dog 5 times.
$animal = 'fox'
"The quick brown $animal jumps over the lazy dog."
PS C:\> $animal = 'fox' >> "The quick brown $animal jumps over the lazy dog." The quick brown fox jumps over the lazy dog.
$string = @"
"The quick brown fox jumps over the lazy dog" is an English-language pangrama sentence
that contains all of the letters of the alphabet. It is commonly used for touch-typing
practice, testing typewriters and computer keyboards, displaying examples of fonts, and
other applications involving text where the use of all letters in the alphabet is desired.
Owing to its brevity and coherence, it has become widely known.
"@
$string
PS C:\> $string = @" >> "The quick brown fox jumps over the lazy dog" is an English-language pangrama sentence >> that contains all of the letters of the alphabet. It is commonly used for touch-typing >> practice, testing typewriters and computer keyboards, displaying examples of fonts, and >> other applications involving text where the use of all letters in the alphabet is desired. >> Owing to its brevity and coherence, it has become widely known. >> "@ >> $string "The quick brown fox jumps over the lazy dog" is an English-language pangrama sentence that contains all of the letters of the alphabet. It is commonly used for touch-typing practice, testing typewriters and computer keyboards, displaying examples of fonts, and other applications involving text where the use of all letters in the alphabet is desired. Owing to its brevity and coherence, it has become widely known.
"ha" * 5
PS C:\> "ha" * 5 hahahahaha
"<$("#" * 5) Repeating character example $("#" * 5)>"
PS C:\> "<$("#" * 5) Repeating character example $("#" * 5)>" <##### Repeating character example #####>