Enigma wrote:
> Manasi Bopardikar wrote:
>> Does anyone know how do I remove the beginning and the trailing * from
>> *****STAFF*****
>>
>>  
>>
>> Thanks  and Regards,
>>
>> Manasi Bopardikar|s/w Engineer|Persistent SystemsLtd
>>
>> (+91)(020)(30234497)|9767218759
>>
>> [EMAIL PROTECTED]
>>
>>  
>>
>>
>> DISCLAIMER
>> ==========
>> This e-mail may contain privileged and confidential information which is the 
>> property of Persistent Systems Ltd. It is intended only for the use of the 
>> individual or entity to which it is addressed. If you are not the intended 
>> recipient, you are not authorized to read, retain, copy, print, distribute 
>> or use this message. If you have received this communication in error, 
>> please notify the sender and delete all copies of this message. Persistent 
>> Systems Ltd. does not accept any liability for virus infected mails.
>>
>>   
> $var =~ s/\*$//;

s/^\*+//, s/\*+$// for $var;

Rob

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to