Outputting String (object, not an array of characters ) to LCD

Should I be able to output String object using SoftwareSerial and LiquidCrystal libraries?
Simple lcd.print( Serial object) does not work.

I did try NewSoftwareSerial and it did not work either.

I understand that SoftwareSerial library is included in core software, but not sure if NewSoftwareSerial is there too.

Either way simple lcd.print( Serial object) just does not work.

Any constructive help will be appreciated.

I value your time , let's be reciprocal.

Cheers Vaclav

Here:

lcd.print( Serial object)

you mean:

lcd.print( String object)

right?

You can convert the String object to an array of characters using:

I don't know if you know about that.

Did not think about converting BACK to array, seems odd.
But I am for KISS.
Thanks

Well if you want to KISS, then why you use the String object and not the array of chars?
I think (I'm not very familiar with the String object) that you can do everything you do with the object with a regular array of chars.

Because someone already wrote the code base I am using.
Or is the "code once and use many times" philosophy dead?
BTW found that string,c_str() "should" return pointer the LCD class should be able to handle, but it does not.
But it compiles just fine.
I guess I should be able to look into source code / version of String to get some idea what is happening.

I guess I should be able to look into source code / version of String to get some idea what is happening.

You could also quit with the fancy footwork and post some code.

BTW found that string,c_str()

Nonsense. The operator is dot, not comma, and only a moron names an instance of the String class string.

return pointer the LCD class should be able to handle, but it does not.

Then, it is likely you are using it wrong.

You can only send an object from one device to another, if both devices know what to do with the object.

PaulS:

I guess I should be able to look into source code / version of String to get some idea what is happening.

You could also quit with the fancy footwork and post some code.

BTW found that string,c_str()

Nonsense. The operator is dot, not comma, and only a moron names an instance of the String class string.

return pointer the LCD class should be able to handle, but it does not.

Then, it is likely you are using it wrong.

Any constructive help will be appreciated.
I value your time , let's be reciprocal.

Vaclav:
Should I be able to output String object using SoftwareSerial and LiquidCrystal libraries?
Simple lcd.print( Serial object) does not work.

I did try NewSoftwareSerial and it did not work either.

"it did not work".
Sheesh.

Come on, you know the rules

I value my time; why don't you reciprocate?