Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

Re^2: search for chr() fails

by tbone654 (Beadle)
on May 21, 2013 at 01:30 UTC ( #1034434=note: print w/replies, xml ) Need Help??

in reply to Re: search for chr() fails
in thread search for chr() fails

I just want to return the position where it finds the character, whatever it's called... then I can print the text between the two instances of the character...

Replies are listed 'Best First'.
Re^3: search for chr() fails
by LanX (Chancellor) on May 21, 2013 at 01:41 UTC
    > then I can print the text between the two instances of the character...

    many of your example lines have only one instance of that character.

    Otherwise you could just use something like  print ((split /\xA0/,$_)[1])

    Cheers Rolf

    ( addicted to the Perl Programming Language)


    corrected escape code

      yes... I'm familiar with and also comfortable with split...
      What I showed was an excerpt of the intersection of two files, one of which has 1 occurance, and one that has two. I will just do something to the data first, depending on which instance before I append them together...

      Thank you for your help...

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1034434]
[zentara]: do you feel good about a non-open-source code, being in control of your display functions?
[choroba]: If you're not going to play 3d games on it, using the open source driver should be enough
[zentara]: choroba that is true, and the wise choice, but I want to see how fast I can get fglrx3dspheres to run... just as an intellectual challenge :-)

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (8)
As of 2017-05-26 14:02 GMT
Find Nodes?
    Voting Booth?