Change Log for the latest
XYplorer BETA version:
Code: Select all
v24.30.0003 - 2023-04-15 14:27
+ SC gettokenindex enhanced: Added an optional start parameter.
Syntax: gettokenindex(token, tokenlist, [separator=|], [flags=iw], [start=1]);
start: Token index from which to start searching. The index returned is still
relative to the beginning of the tokenlist.
Defaults to 1 (= 1st index).
Examples:
echo gettokenindex("e", "a,b,e,d,e", ","); //3
echo gettokenindex("e", "a,b,e,d,e", ",", , 3); //3
echo gettokenindex("e", "a,b,e,d,e", ",", , 4); //5
echo gettokenindex("e", "a,b,e,d,e", ",", , 5); //5
echo gettokenindex("e", "a,b,e,d,e", ",", , 6); //0 (not found)
! SC gettokenindex: Ignored separators that were within quotes. Fixed. Doesn't do it
anymore since SC gettoken doesn't do it either.
echo gettokenindex("e", "a,b,c"",""d,e", ","); // 5
To easily
upgrade to this BETA version from XYplorer, hold down the
CTRL key while you click
Help | Online Support | Check for Updates. If you prefer to
download the BETA version, choose one of these packages:
(1)
Installer Package, (2)
No-Install Package (for manual unpacking).
Note that BETA versions are work in progress and might contain fresh bugs. You have been warned. It's a good idea to backup your complete XYplorer settings (menu File | Settings Special | Backup Application Data Folder...) before running a new BETA version. This will also help in fixing any fresh bugs.