2 people like it.

Concatenate two strings together

Concatenates two strings together: ML or OCaml style

1: 
2: 
let (^) l r = sprintf "%s%s" l r
"Happy" ^ " birthday!"
val l : string
val r : string
val sprintf : format:Printf.StringFormat<'T> -> 'T

Full name: Microsoft.FSharp.Core.ExtraTopLevelOperators.sprintf
Raw view New version

More information

Link:http://fssnip.net/92
Posted:5 years ago
Author:Cameron Frederick
Tags: string , strings , concatenate