Here's an example of the possible confusion that can occur due to the fact
that the VB function is 1-based:
InStrRev(a, b, c)
converts to the following in C#:
a.LastIndexOf(b, c - 1) + 1
--
David Anton
www.tangiblesoftwaresolutions.com Instant C#: VB to C# converter
Instant VB: C# to VB converter
Instant C++: C#/VB to C++ converter
Instant Python: C#/VB to Python converter
[quoted text, click to view] "Andrew" wrote:
> Hi Verci
>
> Thanks for your fast answer.
> So, I was searching a similar function (like Instrrev in VB) in C#.
>
> Two minute ago I have found what I searched.
>
> The function in C# calls lastIndexOf()
>
> Thanks
>
> regards
>