Clearing Strings...

  • Thread starter Thread starter Rafael Veronezi
  • Start date Start date
R

Rafael Veronezi

I work with systems that use accent and ccedilha in it's language...
These system, written in .Net (C#), writes a text file that is sent to the
bank...
It's recorded in a way of registers (one line is a register), with fixed
size and positioning of fields... It's ok... But, I need to filter every
character that I write to this, because the reading system in the bank,
doesn't read accents and ccedilhas well, that kind of text, causes a
shifting on the text, so the size of the fields and of the registers
increases...

The question is...
When I build the string that will be written to the file.. I need to filter
every char that is concatenated to that string, to substitute the instances
of "ã, á, à, é, í, ó, ç" and so on, by the equivalent "a, e, i, o, u's"....
I don't know how is the best method to do that with the .Net Framework...
Can someone give a me little on this way?

Thanks!
 
Back
Top