15,886,799 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Eek Ten Bears (Top 4 by date)
Eek Ten Bears
7-Oct-22 2:22am
View
"\\" in your last comment hints at the next issue that might "appear unexpectedly" just as well you suggested that verbatim string there Griff
Eek Ten Bears
7-May-21 3:29am
View
LOL I had this assignment in a college course about 35 years ago. Its word for word the same, I think someone's tutor has copied it from somewhere.
Its easy, its to make you think about how methods interact with objects. So start it, comment as you go, it'll come and if its wrong start again. Don't ask for us to do it though, that way you'll learn nothing.
Eek Ten Bears
25-Mar-21 4:56am
View
Thanks Griff, that's an excellent article, clear easy to understand. It doesn't give me Author but we'll do that by hard-coding which on reflection might be more appropriate.
Eek Ten Bears
7-Jan-20 6:06am
View
DUH my bad, I forgot the trivial case - either add an "AND sector = 2" or do this which is prettier but includes a pointless application of PATINDEX
where PATINDEX('%[^0123456789]2[^0123456789]%', sector) + PATINDEX('%[^0123456789]2', sector) + PATINDEX('2[^0123456789]%', sector) + PATINDEX('2', sector)> 0