Science, Tech, Math › Computer Science What does #13#10 stand for, in Delphi code? Control strings in Delphi extend your text-based toolkit Share Flipboard Email Print Delphi Tool Palette. Computer Science Delphi Programming Delphi Tutorials Advanced PHP Programming Perl Python Java Programming Javascript Programming C & C++ Programming Ruby Programming Visual Basic View More By Zarko Gajic Zarko Gajic Twitter Computer Science Expert MSCS, Computer Science, University of Osijek Zarko Gajic is experienced in SQL and has working knowledge of DB systems such as MS SQL Server, Firebird, Interbase, and Oracle. He is also proficient in XML, DHTML, and JavaScript. Learn about our Editorial Process Updated on January 28, 2019 Cryptic strings like 13#10 appear regularly within Delphi source code. These strings aren't random gibberish, however — they serve an essential purpose for text layout. A control string is a sequence of one or more control characters, each of which consists of the # symbol followed by an unsigned integer constant from 0 to 255 (decimal or hexadecimal) and denotes the corresponding ASCII character. For example, to assign a two-line string to a Caption property of a TLabel control, use the following pseudocode: Label1.Caption := 'First line' + #13#10 + 'Second line'; The "#13#10" part represents a carriage return + line feed combination. The "#13" is the ASCII equivalent of the CR (carriage return) value; #10 represents LF (line feed). Two more interesting control characters include: #0 — NULL character#9 — (horizontal) TAB Cite this Article Format mla apa chicago Your Citation Gajic, Zarko. "What does #13#10 stand for, in Delphi code?" ThoughtCo, Aug. 25, 2020, thoughtco.com/what-is-1310-in-delphi-code-1057547. Gajic, Zarko. (2020, August 25). What does #13#10 stand for, in Delphi code? Retrieved from https://www.thoughtco.com/what-is-1310-in-delphi-code-1057547 Gajic, Zarko. "What does #13#10 stand for, in Delphi code?" ThoughtCo. https://www.thoughtco.com/what-is-1310-in-delphi-code-1057547 (accessed May 30, 2023). copy citation