Hi Deguix 🙂
Hum I noticed some other small problems with the new version of StrFunc.nsh while I was doing some further testing:
-------
StrCase:
An instruction is missing at the beginning of the function (
Exch), the contents of $0 and $1 are swapped when the function exits
-------
StrClb:
- I couldn't manage to swap strings using "<>", so I modified the function, but you'll probably find a better fix 😁
One thing I didn't understand:
For the operation "<", after the call to "GetClipboardData" there is the
handle in $2
For the operation "<>", after the call to "GetClipboardData" there is the
string in $2
Why?
- There is a typo in the function's comments:
$0 = Action (input)
$1 = String (input)
should be
$0 = String (input)
$1 = Action (input)
-------
StrRep:
An instruction is missing at the end of the function (
Pop $R3), the content of $R3 is lost
-------
StrSort:
There is a parameter missing in the doc's example
-------
StrStrAdv:
The example in the doc is slightly wrong:
${StrStrAdv} $0 "This IS really just an example" "IS " ">" ">" "1" "0" "1"
returns
"IS really just an example" (and not
"really just an example" as stated in the doc)
To get the string
"really just an example", the example should be
${StrStrAdv} $0 "This IS really just an example" "IS " ">" ">" "0" "0" "1"
Hum I think that's all I found..
Have a nice day 🙂
evilO/Olive