I assume both functions use the same methods internally. Therefore, they should produce the same outcome, but as they don’t I will try to reproduce this issue and come back to you as soon as I know more.
I am very sorry for late rely. I replied file workflow to you and I try to test on your recommend about dot that is no input dot ,result is show correct. I think it ambiguous about this function because hence about function “IndexofChars” can used “ab” but dot is character symbol ,it is cannot used it same and effect incorrect result.