There is another way to do this?
var.Replace(“á”,“a”).Replace(“Á”,“A”).Replace(“é”,“e”).Replace(“É”,“E”).Replace(“í”,“i”).Replace(“Í”,“I”).Replace(“ó”,“o”).Replace(“Ó”,“O”).Replace(“ú”,“u”).Replace(“Ú”,“U”)
Thank you
There is another way to do this?
var.Replace(“á”,“a”).Replace(“Á”,“A”).Replace(“é”,“e”).Replace(“É”,“E”).Replace(“í”,“i”).Replace(“Í”,“I”).Replace(“ó”,“o”).Replace(“Ó”,“O”).Replace(“ú”,“u”).Replace(“Ú”,“U”)
Thank you
Maybe using regex could be a good choice
@mmcruzRPA how?
@KevinDS
have a look here:
@ppr thank you
At the END I’ve use this but all in the same string to not create an extra byte variable. like this:
System.Text.Encoding.UTF8.GetString(System.Text.Encoding.GetEncoding(1251).GetBytes(VARIABLE))
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.