String class example