* bin/commit.hb
* config/detect.mk
* config/detfun.mk
* config/detplat.mk
* config/dir.mk
* config/dirsh.mk
* config/global.mk
* config/globsh.mk
* config/instsh.mk
* config/lang.hb
* config/lang2po.hb
* config/po2lang.hb
* config/postinst.hb
* contrib/hbexpat/tests/tohash.prg
* contrib/hbformat/utils/hbformat.ini
* contrib/hbmisc/hbedit.prg
* contrib/hbmxml/tests/testmxml.prg
* contrib/hbnetio/utils/hbnetio/_console.prg
* contrib/hbnetio/utils/hbnetio/_winsvc.prg
* contrib/hbnetio/utils/hbnetio/hbnetio.prg
* contrib/hbnetio/utils/hbnetio/netiomgm.hb
* contrib/hbwin/tests/ole.prg
* contrib/hbwin/tests/oletst2.js
* contrib/hbwin/tests/oletst2.vbs
* contrib/hbxpp/doc/en/binnumx.txt
* contrib/hbxpp/doc/en/dbcmdx.txt
* contrib/xhb/htmutil.prg
* contrib/xhb/tfile.prg
* contrib/xhb/tframe.prg
* contrib/xhb/thtm.prg
* ChangeLog.txt
* debian/copyright
* doc/class_tp.txt
* doc/hdr_tpl.txt
* doc/xhb-diff.txt
* LICENSE.txt
* package/harbour-wce.spec.in
* package/harbour-win.spec.in
* package/harbour.spec
* package/mpkg_rpm_wce.sh
* package/mpkg_rpm_win.sh
* package/mpkg_rpm.sh
* package/mpkg_src.sh
* package/mpkg_ver.sh
* src/rtl/achoice.prg
* src/rtl/getsys53.prg
* src/rtl/tgetlist.prg
* src/rtl/tlabel.prg
* src/rtl/tmenusys.prg
* tests/hbdoc.prg
* tests/langmsg.prg
* tests/rto_get.prg
* tests/rto_tb.prg
+ doc/en/ati.txt
+ doc/en/dirdrive.txt
+ doc/en/hashfunc.txt
+ doc/en/hbtoken.txt
+ doc/en/left.txt
+ doc/en/proc.txt
+ doc/en/strtran.txt
+ doc/en/transfrm.txt
+ doc/en/typefile.txt
* doc/en/*
* more partial sync with 3.4 fork
51 lines
1.4 KiB
Plaintext
51 lines
1.4 KiB
Plaintext
/* $DOC$
|
|
$AUTHOR$
|
|
2016 Pete D. <pete_westg@yahoo.gr>
|
|
$TEMPLATE$
|
|
Function
|
|
$NAME$
|
|
hb_AtI()
|
|
$CATEGORY$
|
|
API
|
|
$SUBCATEGORY$
|
|
Strings
|
|
$ONELINER$
|
|
Locates the position of a substring in a main string.
|
|
$SYNTAX$
|
|
hb_AtI( <cSearch>, <cString>, [<nStart>], [<nEnd>] ) --> nPos
|
|
$ARGUMENTS$
|
|
<cSearch> the sub-string to search for
|
|
|
|
<cString> The main string to search into, for <cSearch>
|
|
|
|
<nStart> Beginning search position into <cString>, default: 1
|
|
|
|
<nEnd> Ending search position, default: Length of <cString> (i.e. entire <cString>)
|
|
|
|
$RETURNS$
|
|
hb_AtI() returns the position (if any), into main string,
|
|
where first time the substring appears.
|
|
$DESCRIPTION$
|
|
This function has same functionality as hb_At() with the significant
|
|
difference that it's case Insensitive.
|
|
|
|
Optionally, with <nStart> can be defined the position into main string
|
|
from where the search of <cSearch> must begin and with <nEnd> the position
|
|
where it must stop. If neither of them is defined, <nStart> is 1st position
|
|
and <nEnd> the ending of <cString>.
|
|
$EXAMPLES$
|
|
? hb_At( "AS", "as simple as possible", 5 ) // --> 0
|
|
? hb_AtI( "AS", "as simple as possible", 5 ) // --> 11
|
|
$STATUS$
|
|
R
|
|
$COMPLIANCE$
|
|
H
|
|
$PLATFORMS$
|
|
All
|
|
$FILES$
|
|
Library is core
|
|
$SEEALSO$
|
|
hb_At()
|
|
$END$
|
|
*/
|