CodeBase - String Search
Return to the CodeBase listing
Category: Text
Version: 1.0
Information
Uploaded: 25th Jul 2005 16:14
Modified: 25th Jul 2005 16:18
Author: Keaz
Summary
These functions search a string in forward or reverse for a given string from a given starting point. Originally By IanM modified and commented by Keaz. (This function is CaSe SeSiTiVe)
Full Description
These functions search a string in forward or reverse for a given string from a given starting point. Originally By IanM modified and commented by Keaz. (This function is CaSe SeSiTiVe)<br /> <br /> The functions format is as follows:<br /> Instr(a$, b$, #)<br /> This means search a$ for b$ starting at # going forward.<br /> InstrRev(a$, b$, #)<br /> This means search a$ for b$ starting at # going in reverse.<br /> <br /> They return the position the string was found or 0 if not found.<br /> <br /> Not sure if this code will also work for DBC.
Comments
No comments yet.