fix a string bug
This commit is contained in:
parent
d6461db848
commit
757a84bfda
1 changed files with 6 additions and 4 deletions
|
@ -1723,6 +1723,7 @@ public class ISBPL {
|
|||
String w = word.toString();
|
||||
while(w.startsWith("(") && w.length() > 1)
|
||||
w = w.substring(1);
|
||||
if(!w.startsWith("\""))
|
||||
while(w.endsWith(")") && w.length() > 1)
|
||||
w = w.substring(0, w.length() - 1);
|
||||
words.add(w);
|
||||
|
@ -1735,6 +1736,7 @@ public class ISBPL {
|
|||
String w = word.toString();
|
||||
while(w.startsWith("(") && w.length() > 1)
|
||||
w = w.substring(1);
|
||||
if(!w.startsWith("\""))
|
||||
while(w.endsWith(")") && w.length() > 1)
|
||||
w = w.substring(0, w.length() - 1);
|
||||
words.add(w);
|
||||
|
|
Loading…
Add table
Reference in a new issue