1 (edited by geochrist 2020-12-29 07:24:47)

Topic: LastDelimiter

Hi does MVD support the LastDelimiter function?
I have a string that I want to search to find the last occurance of the symbol '/'. How can I do this?

I am using this  position := LastDelimiter('/', arrStr[5]);    but I get error.

Thank you
George

Re: LastDelimiter

I'm not sure if this is what you are looking for but I hope it gives you an idea.

Post's attachments

Attachment icon LastDelimiter.zip 493.59 kb, 225 downloads since 2020-12-29 

brian

Re: LastDelimiter

Thank you for the reply.

I used MVD's Copy and Delete string functions and solved my issue.
It would be nice to include in MVD more Delphi functions to manipulate string or numbers.

Than you