Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!uwm.edu!zaphod.mps.ohio-state.edu!math.lsa.umich.edu!math.lsa.umich.edu!emv From: emv@math.lsa.umich.edu (Edward Vielmetti) Newsgroups: comp.lang.perl Subject: Re: Changing the first character of a string. Message-ID: Date: 30 Jun 90 02:00:36 GMT References: Sender: usenet@math.lsa.umich.edu Organization: University of Michigan Math Dept., Ann Arbor MI. Lines: 17 In-Reply-To: sean@ms.uky.edu's message of 30 Jun 90 00:45:30 GMT (we need a perl book) $flags = ''; if ($mb_flags[$num] && $FL_UNREAD) { $flags .= "U" ; } else { $flags .= " " ; } would concatenate the flag character onto your string. Or you could use an array and use join to print them out. Or probably some other method is more efficient... --Ed Edward Vielmetti, U of Michigan math dept