shirlun Active Member Licensed User Longtime User Oct 1, 2016 #1 With B4I 2.80, The following code return -1. B4X: ret = "1{234567".LastIndexOf2("{", 6) ret = "1{234567".LastIndexOf2("{", 7)
With B4I 2.80, The following code return -1. B4X: ret = "1{234567".LastIndexOf2("{", 6) ret = "1{234567".LastIndexOf2("{", 7)
Erel B4X founder Staff member Licensed User Longtime User Oct 26, 2016 #21 I assume that you are testing it with the hosted builder. What is the listed version of the core library? Upvote 0
I assume that you are testing it with the hosted builder. What is the listed version of the core library?
shirlun Active Member Licensed User Longtime User Oct 27, 2016 #22 Yes, is hosted builder. The version number of core library is 3.00. Attachments cap1.PNG 50 KB · Views: 215 Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Oct 27, 2016 #23 I'm sorry but I cannot reproduce it here. Not sure why it still happens for you. Note that there will be no performance difference unless the string is huge. Upvote 0
I'm sorry but I cannot reproduce it here. Not sure why it still happens for you. Note that there will be no performance difference unless the string is huge.
shirlun Active Member Licensed User Longtime User Oct 27, 2016 #24 Ok, I will keep my replacement method for some while, Thanks. Upvote 0