Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re^3: search for chr() fails

by LanX (Chancellor)
on May 21, 2013 at 01:41 UTC ( #1034435=note: print w/ replies, xml ) Need Help??

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

> 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

Comment on Re^3: search for chr() fails
Download Code
Replies are listed 'Best First'.
Re^4: search for chr() fails
by tbone654 (Beadle) on May 21, 2013 at 02:09 UTC
    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://1034435]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2016-02-06 04:00 GMT
Find Nodes?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?

    Results (215 votes), past polls