Text Processing4 / 14
Up next

Contains and -like

$path = "report.final.txt"
# True (plain substring)
$path.Contains(".final")
# True (wildcard glob)
$path -like "*.txt"
What you're solving

substring test vs wildcard match