FAQ
overflow

Great Answers to
Questions About Everything

QUESTION

Print["first part of the result", DateString[]]   
Print["addition to the result", DateString[]]

will add a newline character at the end of line automatically for each Print[]. But I'd like the two strings to be shown on the same line. How can I do this?

{ asked by Problemaniac }

ANSWER

For Example:

WriteString["stdout", "First part of the result: ", DateString[]];
(*Perform some calc*)
i = 0;
WriteString["stdout", " -- Addition to the result: ", DateString[],  "\n"];

{ answered by belisarius }
Tweet