Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

Re^2: difference between two lines

by vinoth.ree (Monsignor)
on Jul 30, 2018 at 09:13 UTC ( #1219461=note: print w/replies, xml ) Need Help??

in reply to Re: difference between two lines
in thread difference between two lines

Hi Corion

I tried the first option(remove all spaces from both lines and compare). I thought there could be best way, that's why posted this question.

All is well. I learn by answering your questions...

Replies are listed 'Best First'.
Re^3: difference between two lines
by Eily (Monsignor) on Jul 30, 2018 at 09:48 UTC

    So the first option worked? If so, there's no need for a "best way". If your code has some issues you'll have to be more specific, rather than hope someone provides a solution actually fits your needs without knowing them. Or if you want advice about your code, you'll have to post it.

    Edited: in hindsight my previous formulation sounded harsher than intended.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1219461]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (3)
As of 2020-11-01 02:33 GMT
Find Nodes?
    Voting Booth?
    My favourite web site is:

    Results (291 votes). Check out past polls.