PowerShell | String Operations

Publicado el: 19 julio 2022
en el canal de: 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')


En esta página del sitio puede ver el video en línea PowerShell | String Operations de Duración hora minuto segunda en buena calidad , que subió el usuario LazyCoder 19 julio 2022, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 19 veces y le gustó 0 a los espectadores. Disfruta viendo!