Don't be a policy nazi here. People come looking for help. Don't deny them all assistance because you find the question does not perfectly match with the rules.
Any code I offer as an answer or comment comes also with the WTFPL or Free Public license, regardless of whatever changes are made to the site TOS. Do whatever you like with it, no attribution ever required.
Q&A for professional and enthusiast programmers
Q&A for meta-discussion of the Stack Exchange family of Q&A websites
Q&A for system and network administrators
Q&A for peer programmer code reviews
Q&A for computer enthusiasts and power users
Q&A for professional programmers interested in conceptual questions about software development
Q&A for linguists, etymologists, and serious English language enthusiasts
Q&A for passionate videogamers on all platforms
Q&A for database professionals who wish to improve their database skills and learn from others in the community
Q&A for musicians, students, and enthusiasts
Q&A for members of the workforce navigating the professional setting
Q&A for beer aficionados and collectors