Version française
Home     About     Download     Resources     Contact us    
Browse thread
AW: [Caml-list] Concatenation of int and String
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Bauer, Christoph <Christoph.Bauer@l...>
Subject: AW: [Caml-list] Concatenation of int and String
> Hi Folks,
> 
> I am very new to OCaml and I am taking my first steps at the moment...
> 
> Can you tell me how to concatenate a int and a String?

let i = 42
and s = "hello" in string_of_int i ^ s

Christoph Bauer