PowerShell - String Operations
What will be the output of this PowerShell code?
$text = " hello world "
$clean = $text.Trim()
Write-Output $clean.Length
$text = " hello world "
$clean = $text.Trim()
Write-Output $clean.Length
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions