Results 1 to 2 of 2
Thread: String replace method
- 07-10-2007, 03:18 PM #1
Member
- Join Date
- Jul 2007
- Posts
- 1
- Rep Power
- 0
String replace method
Hi all,
I have a problem with string replacement. Details follows...
String : select count(*) from my_table
I have to replace count(*) with count(1).But The String's replaceAll() asking for regular expressions..can u just tell me what regular expression suits my needs?
I don't want to use replace() method...Can u tell me...
Thanks in advance..
- 07-10-2007, 09:14 PM #2
Member
- Join Date
- Jul 2007
- Posts
- 41
- Rep Power
- 0
Similar Threads
-
Object from String (calling method dynamically)
By Java Tip in forum Java TipReplies: 0Last Post: 02-16-2008, 10:22 PM -
Find and replace ( in a String
By hamish10101 in forum New To JavaReplies: 6Last Post: 01-17-2008, 06:51 AM -
Method for String to int conversion
By Java Tip in forum Java TipReplies: 0Last Post: 01-02-2008, 07:35 PM -
Using a replace method...
By paul in forum New To JavaReplies: 2Last Post: 08-07-2007, 05:50 AM -
problems with replace method
By cecily in forum New To JavaReplies: 1Last Post: 08-02-2007, 10:11 PM
Bookmarks