DrSchool Learn coding, fast.
EN AR BN CS DE EL Search

Strings — Example 38

Quick explanation + ready code for: Strings.

PowerShell Strings Back to examples
Back to language
Syntax: Strings in PowerShell. ID: #38

Code

$s="lesson-8"
Write-Host $s.ToUpper()

Notes

You can copy this snippet and adapt it. For advanced, add real-world inputs, edge cases, and tests.