B4A Library StringFunctions2


In the forum one sees again and again that many beginners use the old StringFunctions Lib of margret. But you should not use this lib anymore.
Therefore, I have made the effort to rewrite the Lib (B4A 8.50).

This lib is for learning purposes only
or for easier porting of VB code to B4a code.

Attention all string functions are zero-based as usual with B4a.

I only wrote the code based on the function definitions.
I did not test Margrets-Lib myself.

Known changes:
  • MB I left away
  • MidExtract returns a List instead of String
  • Encrypt and Decrypt are implemented with a simple XOR and should NOT be used.
(translate by Google)


  • StringFunctions2_lib.zip
    11.5 KB · Views: 990
  • StringFunctions2.zip
    15 KB · Views: 819
Last edited: