From Bohemia Interactive Community
Hover & click on the images for description
Description
- Description:
- Creates a string containing a line break, similar to lineBreak for text. The name is inspired by c++ std::endl (end line).
The command returns "\r\n", which contains control characters rather than printable characters:
The line break works for diag_log and ctrlSetText.
It does not work with the hint because hint interprets printable "\n" as line break instead.
Alternatively one can use toString command to get other characters.
- Groups:
- Strings
Syntax
- Syntax:
- endl
- Return Value:
- String - line break
Examples
- Example 1:
- Example 2:
Additional Information
- See also:
- lineBreak str format toString joinString splitString toArray
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here!
Add Note
- 7erra - c
- Posted on Jul 15, 2020 - 11:50 (UTC)
-
ctoArray endl results in c[13, 10]. ctoString [13, 10] is therefore equivalent (or at least very similar) to endl.