Forum > General
find word in string
frederic:
dear specialists,
like in all search procedures there is a standard way of separating a group of connected characters from a larger string.
before i start my own design ,my question
where can i find something like this?
frederic
ahiggins:
Could you use POS and COPY or am I miss understanding the question?
frederic:
--- Quote ---Could you use POS and COPY or am I miss understanding the question?
--- End quote ---
an example:
totalstring:= 'ddsgdtervcterterve';
astringtofind:='terv';
function should return :yes :'terv' is part of totalstring
...................more advanced:
Yes:'terv' is 2 times part of total string
but this is so basic is must be available somewhere
frederic
ahiggins:
how about AnsiMatchText in strutils
Tony
Thaddy:
It is basic. It is also a basic question, but the count part is something you have to write yourself..., using PosEx...
Navigation
[0] Message Index
[#] Next page