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