Printing in same line with space

Hello,

I have a code which prints the sensor values like this :

pressure_mmhg0.32
time (ms)520
pressure_mmhg0.24
time (ms)643
pressure_mmhg0.20
time (ms)765

Is there any way I can get it to print like this :

pressure
pressure
pressure

Thank you

How about

Serial.print(time);
Serial.print("\t"); //tab
Serial.println(pressure);

If you want extra characters such as < and > just print them where you want.

void printValues(float pressure, unsigned long timeStamp) {
  Serial.write('<');
  Serial.print(timeStamp);
  Serial.write('>');
  Serial.println(pressure);
}

void setup() {
  Serial.begin(115200);
  printValues(0.32, 520);
  printValues(0.24, 643);
  printValues(0.20, 765);
}

void loop() {}
<520>0.32
<643>0.24
<765>0.20

Thank you. It worked. :)

or sprintf()