[AccessD] Last occurrence within a string

Tom Bolton tom.bolton at donnslaw.co.uk
Tue Oct 26 09:16:56 CDT 2004


Vlad

InstrRev function - this counts the first occurrence of a string but
'backwards', i.e. starting at the end...

HTH, Cheers
Tom


-----Original Message-----
From: ACTEBS [mailto:actebs at actebs.com.au] 
Sent: 26 October 2004 15:08
To: Access Group (E-mail)
Subject: [AccessD] Last occurrence within a string

Guys,

I am stuffing around with this and am sure I have done this before but for
the life of me can't get it. I need to find the last occurrence of "\"
within a file path string. For example if the path was
C:\MyDocs\Docs\Temps\Hello.doc I want to be able to return the Hello.doc
portion and to do that obviously I need to know what position the last
backslash is.

Any ideas?

Vlad
-- 
_______________________________________________
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com
-------------- next part --------------

The contents of this message and any attachments are the property of Donns Solicitors 
and are intended for the confidential use of the named recipient only.  They may be legally
 privileged and should not be communicated to, or relied upon, by any other party without 
our written consent.  If you are not the addressee, please notify us immediately so that we 
can make arrangements for its return.  You should not show this e-mail to any person or
 take copies as you may be committing a criminal or civil offence for which you may be
 liable.  The statement and opinions expressed in this e-mail message are those of the 
writer, and do not necessarily represent that of Donns Solicitors.  Although any files attached
 to this e-mail will have been checked with virus protection software prior to transmission, 
you should carry out your own virus check before opening any attachment.  
Donns Solicitors does not accept any liability for any damage or loss which may be caused 
by software viruses...


More information about the AccessD mailing list