develooper Front page | perl.perl6.users | Postings from June 2018

Re: How do I remove leading zeros?

Thread Previous | Thread Next
From:
ToddAndMargo
Date:
June 13, 2018 18:08
Subject:
Re: How do I remove leading zeros?
Message ID:
08402345-aa53-e7b3-c911-e9fe8b901d0b@zoho.com
On 06/13/2018 11:06 AM, ToddAndMargo wrote:
> On 06/13/2018 11:03 AM, ToddAndMargo wrote:
>> On 06/13/2018 11:00 AM, Larry Wall wrote:

>     $ p6 'my $x = "01.000.103.006.10"; $x ~~ s:g/«0+)>\d//; say "$x"'
>     1.0.103.6.10

Hi Larry,

     How did you get thee "«" character to appear?  And
what does it mean?

Many thanks,
-T

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About