print strings on Serial Monitor

I was wondering if you could print some strings (not just variables) on Serial Monitor. So suppose i want to record the number of sensor hit on the wall and i want to print the current time on timer and the number of sensor hits but before the values, i want to have like some sort of strings.

eg..
Current Time: time (timer variable)
Hit Counts: count (sensor count variable)

Is this possible? How do you code that? Would that be something like Serial.println("Current Time: "&time)? or similar to this?

Similar, but not exactly. You can't do concatenation within the Serial functions themselves, but you can chain print() and println() to get the output you want.

Serial.print("Current Time"); //Not println(), or you'll get a carriage return and line feed.
Serial.println(time);

Probably better to add a space at the end of the string:

Serial.print("Current Time "); //Not println(), or you'll get a carriage return and line feed.

otherwise it will look like this
CurrentTime3872

Gotta leave the newbs something to figure out themselves. :wink:

All in all she got amazingly good service from you two - I was expecting to see a terse post consisting of a link to the reference docs on Serial.print.

So, Serial.print("Current Time: "); Serial.println(time);
would give "Current Time: 4555" in a single line?

So, Serial.print("Current Time: "); Serial.println(time);
would give "Current Time: 4555" in a single line?

Yes.
Here's a useful reference.

I was expecting to see a terse post consisting of a link to the reference docs on Serial.print.

It's a sunny day, and I'm a sucker for an Italian accent.

just a quick one..
Serial.print("Current Time: ");
Serial.println(time);
Serial.println();
Serial.print("Current Speed: ");
Serial.println(speed);

would give:
Current Time: 5466
Current Speed: 255
??
so we use println(); or print('\n'); for new line?

println prints whatever it is given, and then prints a newline.

and

Serial.print("Current Time: "); 
Serial.println(time);
Serial.println();
Serial.print("Current Speed: ");
Serial.println(speed);

will give:
Current time: time here

Current Speed: speed here