Control String

Why do we need to use Control String?
When do we normally use it?
LVL 1
cybermilkyAsked:
Who is Participating?
 
coracleitConnect With a Mentor Commented:
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
 
shaneholmesCommented:
Control String?

Shane
0
 
cybermilkyAuthor Commented:
I came across a statement as below:
The control string #89#111#117 is equivalent to the quoted string 'You'
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.