PowerShell - String Operations
You want to extract all words starting with 'a' from
$text = 'apple banana apricot cherry'. Which approach using -match works best?$text = 'apple banana apricot cherry'. Which approach using -match works best?-match operator returns True/False and only the first match in $Matches.-match individually.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions