Add RedString_SplitChars and fix a bug in RedHash_InsertOrUpdate