Tutorial by Examples

let string1 = "Hello" //simple string let string2 = "Line\nNewLine" //string with newline escape sequence let string3 = @"Line\nSameLine" //use @ to create a verbatim string literal let string4 = @"Line""with""quoutes inside" //dou...
There are several ways to format and get a string as a result. The .NET way is by using String.Format or StringBuilder.AppendFormat: open System open System.Text let hello = String.Format ("Hello {0}", "World") // return a string with "Hello World" let builder...

Page 1 of 1