Android Question String function

Giusy

Active Member
Licensed User
Hi,
I followed the tutorial at this address

https://www.b4x.com/android/forum/threads/string-functions.10365/

Copy the StringFunctions.jar and StringFunctions.xml to the Extra Libraries folder.

I copied them to my "ANDROID LIBRERIE" folder
In "Configure Paths" I have : additional library: C:\ANDROID LIBRERIE
I wrote this code:

B4X:
Sub Globals
   Dim sf As StringFunctions
   sf.Initialize
End Sub

but "sf" is in red and writes "Are you missing a library reference?

What did I forget?

Thanks
 

Giusy

Active Member
Licensed User
In libraries manager I added "StringFunctions"
Now the error has disappeared, but (for exemple) Dim(....) is in red
Thank you
 
Upvote 0

klaus

Expert
Licensed User
Longtime User
I would not use the StringFunctions library, it is no more supported. The author, margret, seems to be inactive in the forum for about three years.
I suggest you to learn to use the 'standard' B4A functions
 
Upvote 0

Giusy

Active Member
Licensed User
Hi @klaus
I read the tutorial in point 4.9 but I did not find what I was looking for.
What I have to do is very simple, but not knowing the instructions becomes difficult :(

I have a string that contain "0001abscd3efgh"
I want to obtain two strings
The first with "0001"
The second with "abscd3efgh"
Every time the first four characters

Help me please

Thank you
 
Upvote 0
Top