Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
* AW: [Caml-list] Concatenation of int and String
@ 2004-10-22 14:20 Bauer, Christoph
  0 siblings, 0 replies; only message in thread
From: Bauer, Christoph @ 2004-10-22 14:20 UTC (permalink / raw)
  To: 'Jan Stamer', caml-list

[-- Attachment #1: Type: text/plain, Size: 216 bytes --]

> 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

[-- Attachment #2: Type: text/html, Size: 748 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-10-22 14:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-22 14:20 AW: [Caml-list] Concatenation of int and String Bauer, Christoph

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox