String management like B4PPC

DOM85

Active Member
Licensed User
Longtime User
Hi,
It would be very nice to have a good string management like in B4PPC, left$, mid$, right$, string$, sstr$, instead of B4A substrings functions that are much complex for poor useful.

For example in this function: SubString2 (BeginIndex As Int, EndIndex As Int) As String

the second parameter named Endindex is not the ending because it does not include the last character!

Thanks
 

Kamac

Active Member
Licensed User
Longtime User
Hi,
It would be very nice to have a good string management like in B4PPC, left$, mid$, right$, string$, sstr$, instead of B4A substrings functions that are much complex for poor useful.

For example in this function: SubString2 (BeginIndex As Int, EndIndex As Int) As String

the second parameter named Endindex is not the ending because it does not include the last character!

Thanks

Good idea. Especially:
For example in this function: SubString2 (BeginIndex As Int, EndIndex As Int) As String

the second parameter named Endindex is not the ending because it does not include the last character!

I had same problems using Rnd function.
 
Top