Re: delete a char from string ?
From: Roedy Green (see_at_mindprod.com.invalid)
Date: 04/22/04
- Next message: Roedy Green: "Re: string class with method approximatelyEquals(String s)"
- Previous message: Roedy Green: "Re: App does not work in a Jar, NoClassDefFoundError"
- Maybe in reply to: ssaa: "delete a char from string ?"
- Next in thread: Tony Morris: "Re: delete a char from string ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 22 Apr 2004 05:23:43 GMT
On Thu, 15 Apr 2004 14:31:02 +0100, "Squanderette"
<jdbr20766@SPAM.TRAP.blueyonder.co.uk> wrote or quoted :
>String f = formulla.replaceAll("\\[", ""));
Watch out with this. The first parameter is not a simple String to
search for. It is a Regex Pattern.
See http://mindprod.com/jgloss/regex.html
-- Canadian Mind Products, Roedy Green. Coaching, problem solving, economical contract programming. See http://mindprod.com/jgloss/jgloss.html for The Java Glossary.
- Next message: Roedy Green: "Re: string class with method approximatelyEquals(String s)"
- Previous message: Roedy Green: "Re: App does not work in a Jar, NoClassDefFoundError"
- Maybe in reply to: ssaa: "delete a char from string ?"
- Next in thread: Tony Morris: "Re: delete a char from string ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|