Trime a string from leading sign?

  • Thread starter Thread starter Niklas Östergren
  • Start date Start date
N

Niklas Östergren

Hi!

How do I trim a string from a leading sign?

I´m about to create a procedure used to collect multiple e-mail addresses
which I intend to supplye to DoCmd.SendObject to send an e-mail message.

The thing is that when I concatenate the addresses there shall be sign ";"
to seperate the addresses so I add this sign like this:

strMatches = strMatches & " ; " & vararrEmailAddresses(i, j)

With this I end up with a string looking like this:

; (e-mail address removed) ; (e-mail address removed)

No I´d like to get ridd of the frst sign ";" since it´s not needed.
How do I do that?

TIA!
// Niklas
 
Back
Top