RosettaCodeData/Task/Increment-a-numerical-string/PowerShell/increment-a-numerical-string-1.ps1
2026-04-30 12:34:36 -04:00

2 lines
42 B
PowerShell

$s = "12345"
$t = [string] ([int] $s + 1)