6 lines
289 B
PowerShell
6 lines
289 B
PowerShell
$test = "$([char]9)Français."
|
|
|
|
"Original string : `"$test`""
|
|
"Control characters stripped : `"$($test | Remove-Character -Control)`""
|
|
"Extended characters stripped : `"$($test | Remove-Character -Extended)`""
|
|
"Control & extended stripped : `"$($test | Remove-Character)`""
|