Solved

Control String

Posted on 2004-04-08
3
144 Views
Last Modified: 2010-04-05
Why do we need to use Control String?
When do we normally use it?
0
Comment
Question by:cybermilky
3 Comments
 
LVL 11

Expert Comment

by:shaneholmes
ID: 10789148
Control String?

Shane
0
 
LVL 1

Author Comment

by:cybermilky
ID: 10789300
I came across a statement as below:
The control string #89#111#117 is equivalent to the quoted string 'You'
0
 

Accepted Solution

by:
coracleit earned 20 total points
ID: 10789830
Hi,

This 'Control String' as you have called it, enables you to put characters into a string that are not typable from the keyboard.
Eg.

MessageDlg('This is a dialog box' + #10+ 'That spans over 2 lines',mtInformation,[mbOK],0);

This dialog box now has a linefeed control char in the middle and forces the info onto 2 lines.
It could also be #13 which is carrage Return.

Wayne
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

747 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