PowerShell
PowerShell
Remove Accent Marks from Chars in String
Removes the accent marks from Latin and Central European chars in a string.Note: The RemoveAccents method was added in Chilkat v9.5.0.91. This example requires Chilkat v9.5.0.91 or greater.
Chilkat PowerShell Downloads
Add-Type -Path "C:\chilkat\ChilkatDotNet47-x64\ChilkatDotNet47.dll"
$success = $false
$s = "Números para Mí (Student Edition, Spanish)"
$sb = New-Object Chilkat.StringBuilder
$success = $sb.Append($s)
$sb.RemoveAccents()
$($sb.GetAsString())
# Output:
# Numeros para Mi (Student Edition, Spanish)