Login
|
Signup
langref.org
-
fsharp
and
fantom
add..
all
clojure
cpp
csharp
erlang
go
groovy
haskell
java
ocaml
perl
php
python
ruby
scala
Home
All
Solved
Unsolved
Strings
Numbers
Regex
Lists
Maps
Structure
Files
Dates
OOP
Networking
XML
Algorithms
Misc
Parallel
View Problem
Strings
Declaration
Define a multiline string
Define the string:
"This
Is
A
Multiline
String"
fsharp
let multiline = "This\nIs\nA\nMultiline\nString"
#light
let multiline = "This\nIs\nA\nMultiline\nString"
printfn "%s" multiline
fsharp
let multiline = "This
Is
A
Multiline
String"
#light
let multiline = "This
Is
A
Multiline
String"
printfn "%s" multiline
fantom
s := "This
Is
A
Multiline
String"
class Solution1423
{
static Void main()
{
s := "This
Is
A
Multiline
String"
}
}
Submit a new solution for
fsharp
or
fantom
There are 28 other solutions in
additional
languages (
clojure
,
cpp
,
csharp
,
erlang
...)