Horje
powershell if string contains Code Example
powershell if string contains
$strVal ='Hello world'
if($strVal -like '*World*') {
      Write-Host 'Your string contains the word world'
} else {
      Write-Host 'Your string does not contains the word world'
}
powershell if string contains
$strVal ='Hello world'
if($strVal -like '*World*') {
      Write-Host 'Your string contains the word world'
} else {
      Write-Host 'Your string does not contains the word world'
}




Shell

Related
setting config source di linux Code Example setting config source di linux Code Example
i see my path has a lot of unwanted things. how to reset in command line Code Example i see my path has a lot of unwanted things. how to reset in command line Code Example
ubuntu permission all file in folder Code Example ubuntu permission all file in folder Code Example
mirror repository github Code Example mirror repository github Code Example
kubernetes get persistent volumes Code Example kubernetes get persistent volumes Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
10