KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Intention is to take a current line (String that contains commas), replace white space with "" (Trim space) and finally store split String elements into the array. Why does not this work? String[] textLine = currentInputLine.replace("\\s", "").split(",");
Tags (comma-separated)
Save Edits
Cancel