B4A Library StringFunctions2

Discussion in 'Additional libraries, classes and official updates' started by Knoppi, Oct 10, 2018.

  1. Knoppi

    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)
     

    Attached Files:

    Last edited: Oct 10, 2018
  2. Erel

    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.
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice