Solved

How to evaluate a string that contains single quote when that is the  special characters used to define a string value.

Posted on 2014-07-21
3
289 Views
Last Modified: 2014-07-21
All,
I have a string that contains a single quote in it (EX:  Master's).  I need to evaluate a data item value to that string.  The problem is that the special character used to define string value is the single quote (').  Is there a way for me to evaluate this string as is without having to temporarily strip out the character to do the evaluation.  If not what is the simplest way to do the evaluation?  Thanks.

Ken
0
Comment
Question by:ktQueBIT
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 21

Accepted Solution

by:
Randy Poole earned 500 total points
ID: 40209664
just double the '' as in 'Master''s' when evaluating it
0
 

Author Comment

by:ktQueBIT
ID: 40209721
Randy.  Thanks I think I tried every combination except that one.   You just saved me some major aggravation!!
0
 
LVL 21

Expert Comment

by:Randy Poole
ID: 40209725
No problem :)
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Hello, In my precious Article  (http://www.experts-exchange.com/Database/Reporting/A_15280-Create-Project-in-Microstrategy-Part-I.html)we saw the Configuration part for Microstrategy which included Metadata Creation and DataSource Preparation as …
Jaspersoft Studio is a plugin for Eclipse that lets you create reports from a datasource.  In this article, we'll go over creating a report from a default template and setting up a datasource that connects to your database.
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.
Suggested Courses

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question