Brillig
2007-01-25 13:34:00 UTC
Dear Chums,
Because the string "[abc]" contains "[", I would like the following to
return "True":
PS> if ( "[abc]" -contains "[") {Write-Host True} else {Write-Host False}
I realsie that there is probably some protection meatacharacter, but
backtick and backslash don't seem to work.
Because the string "[abc]" contains "[", I would like the following to
return "True":
PS> if ( "[abc]" -contains "[") {Write-Host True} else {Write-Host False}
I realsie that there is probably some protection meatacharacter, but
backtick and backslash don't seem to work.
--
Regards,
Brillig.
Regards,
Brillig.