Top "Multiline" questions

Text that spans more than one line is considered "multiline". Concerns about wrapping, spacing, techniques and best practices.

Creating multiline strings in JavaScript

I have the following code in Ruby. I want to convert this code into JavaScript. what's the equivalent code in …

javascript string multiline heredoc
Pythonic way to create a long multi-line string

I have a very long query. I would like to split it in several lines in Python. A way to …

python string multiline multilinestring
Are multi-line strings allowed in JSON?

Is it possible to have multi-line strings in JSON? It's mostly for visual comfort so I suppose I can just …

json string syntax multiline
How do I match any character across multiple lines in a regular expression?

For example, this regex (.*)<FooBar> will match: abcde<FooBar> But how do I get it to …

regex multiline
Java multiline string

Coming from Perl, I sure am missing the "here-document" means of creating a multi-line string in source code: $string = <&…

java string multiline
How to enter a multi-line command

Is it possible to split a PowerShell command line over multiple lines? In Visual Basic I can use the underscore (_) …

powershell multiline
Multiple lines of text in UILabel

Is there a way to have multiple lines of text in UILabel like in the UITextView or should I use …

ios uilabel uitextview line-breaks multiline
Multiline TextView in Android?

I did like below in xml <TableRow> <TextView android:id="@+id/address1" android:layout_width="fill_parent" …

android textview tablelayout multiline
Multiline for WPF TextBox

I am developing an app for sending some feedback. Basically I'm trying to make a TextBox for comments, but I'm …

wpf textbox multiline