Asterisk serve as a wildcard, so how would you check for the presence of an asterisk? In a previous tip we used regular expressions for this, but there is an even easier way:
PS> 'Test*'.Contains('*')
Asterisk serve as a wildcard, so how would you check for the presence of an asterisk? In a previous tip we used regular expressions for this, but there is an even easier way:
PS> 'Test*'.Contains('*')