Hi guys I can't seem to get this method working. Any help is appreciated on what's wrong in my code thanks!
/**
public static final String SENTENCE_SEPARATORS = "[.?!]";
* Given an...
Type: Posts; User: starlest
Hi guys I can't seem to get this method working. Any help is appreciated on what's wrong in my code thanks!
/**
public static final String SENTENCE_SEPARATORS = "[.?!]";
* Given an...
Thanks a lot! Solved! :)
Yep for example "!test,." will return "test". I'm just having troubles removing multiple punctuation characters before or after the word. Removing single punctuation character is not a problem....
I have these 2 methods. What I'm currently having troubles is with the cleanWord method. What it can do now is remove only one punctuation either in front or at the back of the string or at both...