Perl RegExp question

J

John Bokma

ccc31807 said:
I have developed a habit of using the old C-like tools, like substr,
index, etc., when I can, because they seem to lie closer at hand than
an RE. I'm pretty proficient at what I do, so something must work.

Nothing wrong with that. If I need the last 4 characters, or the first
3, I use substr. If I need to test if a string has a substring, I use
index.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,212
Messages
2,571,101
Members
47,695
Latest member
KayleneBee

Latest Threads

Top