Solved

How do you invoke TCharHelper

Posted on 2013-06-17
1
1,902 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 25

Accepted Solution

by:
Sinisa Vuk earned 500 total points
Comment Utility
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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
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…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

771 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now