Results 1 to 2 of 2
  1. #1
    Opid is offline Member
    Join Date
    Oct 2011
    Posts
    7
    Rep Power
    0

    Default Removing escaped characters from strings

    How would I remove all the junk from the string:
    <p>Clerical and Service Staff Advisory Committee (CSSAC) Book Fair</p>
    I tried tokenizing it with &; as delimeters but its working with my program. (Some strings will have more tokens than others) I also tried (URLDecoder.decode(string, "UTF-8")) but thats not working either. Any suggestions?

  2. #2
    jammas615 is offline Senior Member
    Join Date
    Jul 2011
    Location
    Melbourne, Victoria, Australia
    Posts
    155
    Rep Power
    4

    Default Re: Removing escaped characters from strings

    Try replacing each instance in the string:
    String (Java Platform SE 6)

Similar Threads

  1. PreparedStatements and escaped text
    By porchrat in forum New To Java
    Replies: 22
    Last Post: 03-04-2011, 08:25 AM
  2. Removing Items In a GUI
    By 67726e in forum New To Java
    Replies: 3
    Last Post: 08-01-2010, 05:46 PM
  3. characters + strings
    By Gilgamesh in forum New To Java
    Replies: 3
    Last Post: 03-02-2008, 09:10 PM
  4. image removing
    By Triss in forum New To Java
    Replies: 3
    Last Post: 01-20-2008, 08:27 PM
  5. Removing characters
    By kDude in forum New To Java
    Replies: 3
    Last Post: 12-03-2007, 02:38 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •