Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Get a known substring from a string

by BrowserUk (Patriarch)
on Sep 09, 2016 at 16:38 UTC ( [id://1171470]=note: print w/replies, xml ) Need Help??


in reply to Get a known substring from a string

If you know its there and you know what it is; why look, you already have it?


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority". I knew I was on the right track :)
In the absence of evidence, opinion is indistinguishable from prejudice.
  • Comment on Re: Get a known substring from a string

Replies are listed 'Best First'.
Re^2: Get a known substring from a string
by jake7176 (Novice) on Sep 09, 2016 at 16:44 UTC

    So at the moment, I get a whole load of ID numbers come in from different sources, but for some reason, they aren't spaced apart. So when I am trying to get that ID number, I can't use it because it has all of the other numbers attached. So I was going to strip everything else then run my script with the ID that I have left

      If you describe your actual problem, with examples of the real data, the real ID number you need to find and what you know about the number you need to extract; you might get some useful answers.

      Your current description implies that you already have the ID; otherwise how are you searching for it?


      With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
      Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
      "Science is about questioning the status quo. Questioning authority". I knew I was on the right track :)
      In the absence of evidence, opinion is indistinguishable from prejudice.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (6)
As of 2024-04-18 19:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found