Issue #5364: Change setText to setString

Change setText to setString