B4A Library StringFunctions2

Knoppi

Active Member
Licensed User
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.
https://www.b4x.com/android/forum/threads/string-functions.10365/
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.
Files:
(translate by Google)
 

Attachments

Last edited:

Erel

Administrator
Staff member
Licensed User
Thank you! Moved to the libraries forum.

I guess that the class is compatible with B4J and B4i as well.
 
Top