• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Replace Acute Accent in a String

 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to replace any e that has the accent ' above it to just an e. I believe it is referred to as the Acute Accent (accent aigu). Could I use the replace(char,char) method? If so, how do I enter the accented e?
 
Junilu Lacar
Bartender
Pie
Posts: 7306
45
Android Eclipse IDE IntelliJ IDE Java Linux Mac Scala Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Unicode charts are at http://www.unicode.org/charts/
Seems like you need either '\u00e9' (é) or '\u00c9' (É)
HTH
------------------
Junilu Lacar
Sun Certified Programmer for the Java� 2 Platform
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic