In my old lashed-up xml reader B4AHelp.exe they look as expected e.g LastIndexOf and LastIndexOf2 etc. I can't find any duplication when I open core.xml in Notepad++ either.
Ok, so found them in Core.xml...
<name DesignerName="SubString2">substring</name>
<name DesignerName="IndexOf2">indexOf</name>
<name DesignerName="LastIndexOf2">lastIndexOf</name>
So that means two things...
1. B4a Object Browser has a <cough> bug, but only a small one.
Technically it is showing the correct information, but it is not correctly reading or taking into account the "DesignerName" Attribute of the "Name" Element.
2. B4a CAN actually have multiple keywords with the same name, but not the same DesignerName.
Not that it helps in this discussion. I guess I have to pause my documentation efforts and fix this bug.
Thanks for the clues though.
EDIT2:
Erel, is it only Methods that can have a DisplayName, or do I have to also look at Properties and Fields?
EDIT3:
Assuming it is only Methods, I have fixed the B4a Object Browser, but I can't release it until I have fully tested it to ensure all functions work as expected (Search etc), plus I will wait for Erel to get back to me.