duplicate entry problem fixed.
Merge branch 'master' into Jinkyu_CharLimitCheck
Caseinsensitive string input to tfdb.
space trim and detecting the number of spaces in a string before saving
to tfdb.