summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bladictionary.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bladictionary.java b/bladictionary.java
index 0691e7b..b2e64da 100644
--- a/bladictionary.java
+++ b/bladictionary.java
@@ -158,7 +158,7 @@ public class bladictionary {
if(!result.equals(""))
{
- result = result.substring(0,result.length()-1)+";";
+ result = result.trim()+";";
System.out.println(result);
System.exit(0);
}