How to handle ' in a name - TechRepublic
General discussion
October 29, 2002 at 03:23 AM
oneilldavidj

How to handle ‘ in a name

by oneilldavidj . Updated 23 years, 5 months ago

I am working on a system the will be needing to make database calls using last name as a search parameter. I have been told that it is not possible to handle a ‘ in a name reliably (like O’Sullivan.) Can someone give me coding examples that will work in Java and Javascript? I have done this in other environments by using two ‘, to indicate that the ‘ should be handled as a character and not a delimiter.

This discussion is locked

All Comments