Add text to the beginning of an existing string

L

Lisa B.

Is there a way (I know there is) to add text to the beginning of an existing
string?

Could it be as simple as: ExistingString = NewString + ExistingString
 
P

Peter Russell

Well I can't see any other replies at this moment, so in my world I'm the
first of no doubt hundreds to say...

Yes.

Regards

Peter Russell
 
M

Marshall Barton

Lisa said:
Is there a way (I know there is) to add text to the beginning of an existing
string?

Could it be as simple as: ExistingString = NewString + ExistingString

To add to Peter's eloquent reply ;-)

It is more usual to use:
ExistingString = NewString & ExistingString

Plus will propagate a Null value, ampersand will not.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top