?
Solved

How do you invoke TCharHelper

Posted on 2013-06-17
1
Medium Priority
?
2,212 Views
Last Modified: 2013-06-17
I include the Character unit in my uses clause, but get the warning, Symbol 'ToLower' is deprecated: 'Use TCharHelper'. I use ToLower to do a case conversion on unicode characters.

I can't work out how to include TCharHelper.
0
Comment
Question by:GrahamDLovell
1 Comment
 
LVL 28

Accepted Solution

by:
Sinisa Vuk earned 2000 total points
ID: 39255332
if you have char value...
uses System.Character;
...
var 
  someCh, someOtherCh: Char;
....

someOtherCh := someCh.ToLower;

//or more complex :-)

if not someCh.IsLower then
  someCh := someCh.ToLower;

Open in new window

0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Integration Management Part 2
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…
Suggested Courses

840 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