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

Re: capturing names

by Rich36 (Chaplain)
on Jul 09, 2002 at 14:12 UTC ( [id://180483]=note: print w/replies, xml ) Need Help??

in reply to capturing names

Take a look at split - this function allows you to split strings based on whatever character you specify and returns a list of elements derived from the split up string. In this instance, you could detect for the existance of the '#', then split on it and get the first element of the array that split returns - which would be the first part of the line that you want to capture.


Log In?

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (6)
As of 2024-05-28 16:25 GMT
Find Nodes?
    Voting Booth?

    No recent polls found