What is the easiest way to delete the first line in $Text and leave everything else?
How about:
$Text = $Text.substr($Text.paragraph(0).size);
2 Likes
This also works …
$Text=$Text.replace("^.*\n")
1 Like