Since 5/28/2012 8:13:06 PM, sfu has written 2 articles and participated in 6 conversations. sfu signature: sfu
sfu's articles:
Items(2) /1
replace period using String.replaceAll()652 (9/24/2003 10:53:08 PM) comp.lang.java.programmer Hi i'm trying to remove all occurances of . from a string test = test.replaceAll(".",""); and int fs = 46; Character fullstop = new Character((char) fs); test = test.replaceAll(fullstop.toString(),""); bot... sfu
remove common words from a string1555 (9/12/2003 12:22:10 PM) comp.lang.java.programmer Hi I'd like to import a text file containing common words such as "at","the","and" etc. Then if i take a String "I want to visit the shops today and buy some clothes", i would like to strip out the common word... sfu
sfu's replies:
Items(2) /1
remove common words from a string1555 (9/12/2003 12:22:10 PM) comp.lang.java.programmer Hi I'd like to import a text file containing common words such as "at","the","and" etc. Then if i take a String "I want to visit the shops today and buy some clothes", i would like to strip out the common word... sfu(8)
replace period using String.replaceAll()652 (9/24/2003 10:53:08 PM) comp.lang.java.programmer Hi i'm trying to remove all occurances of . from a string test = test.replaceAll(".",""); and int fs = 46; Character fullstop = new Character((char) fs); test = test.replaceAll(fullstop.toString(),""); bot... sfu(8)