PowerShell | String Operations

Pubblicato il: 19 luglio 2022
sul canale di: LazyCoder
19
0

$var = "This is a string"
$var.GetType()
$var = "This is a test string"
$var.Length
($env:PSModulePath).Split(';')
"Hello" + " World"
$a = "Hello"
$b = "World"
$a,$b -join(' ')

$a = "Hello"
$b = "World"
$a,$b -join('#')


$var = "This is a string"
$var.Substring(0,5)


$var = "This is a string"
$var.Contains("this")
$var.Contains("This")


$var = "This is a string"
$var.ToUpper()
$var.ToLower()



(" Hello World ").Trim()


("New PowerShell version is 7.0") -Replace ("N","")


("New PowerShell version is 7.0").IndexOf('P')


In questa pagina del sito puoi guardare il video online PowerShell | String Operations della durata di ore minuti seconda in buona qualità , che l'utente ha caricato LazyCoder 19 luglio 2022, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 19 volte e gli è piaciuto 0 spettatori. Buona visione!