support StringSetChar and StringGetChar