capitalizing code string