yes shrike - but, how many different types of: punctuation; (e.g., special characters | non-letters) can you fit? ๐
Napster: I have gained an interest in OOP and am currently learning it. What got me interested is that I found myself writing larger and larger functions, or nesting functions inside one another, to make my code more reusable or more flexible.
For example, I have a directory on my site. I created a monsterous function to be able to include a varying number of listings from a variable category and display a variable number of characters from the description... just calling the function now requires 7 parameters.
Now what I want to do is create an pair of objects - one to retrieve and one to display the listings. Should be much cleaner and more flexible, and easier to maintain.