console string class