aspose file tools*
The moose likes Beginning Java and the fly likes a simple question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "a simple question" Watch "a simple question" New topic
Author

a simple question

AJ Smith
Greenhorn

Joined: Aug 13, 2003
Posts: 7
how to replace all the string "abc" with a "tab" in string "abcDDDDabcDDDabcDDDDDDDabcD" ?
any suggestion or segment of code is helpful. thanx!
Greg Neef
Ranch Hand

Joined: Jun 16, 2003
Posts: 82


SCJP 1.4
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24168
    
  30

I think he means a TAB character, not the literal string "tab"; so he ought to use "\t" as the replacement string.


[Jess in Action][AskingGoodQuestions]
AJ Smith
Greenhorn

Joined: Aug 13, 2003
Posts: 7
Thanx! Greg Neef , Ernest Friedman-Hill .
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: a simple question
 
Similar Threads
Tech Word Game
date format with MS Access database
How to convert byte array into string array?
WA #1.....word association
ResultSet to Array