string class example