There are the library StringFunctions:
https://www.b4x.com/android/help/stringfunctions.html#stringfunctions_splitgetword
and there are this observation of Erel:
https://www.b4x.com/android/forum/threads/b4x-text-strings-and-parsers.83510/#content
A relatively popular library named StringFunctions is available. It was written by @margret.
I don't recommend using it as it is not maintained and all its features are already available in the core library.
The SplitGetWord returns just the one element selected with GetElement from the string.
Example:
In this example the function will Return: "is"
How I can do this using the feature of the core library?
Thanks in advance for any tips.
https://www.b4x.com/android/help/stringfunctions.html#stringfunctions_splitgetword
and there are this observation of Erel:
https://www.b4x.com/android/forum/threads/b4x-text-strings-and-parsers.83510/#content
A relatively popular library named StringFunctions is available. It was written by @margret.
I don't recommend using it as it is not maintained and all its features are already available in the core library.
The SplitGetWord returns just the one element selected with GetElement from the string.
Example:
B4X:
ANS = SF.SplitGetWord("This is a test string.", " ", 2)
How I can do this using the feature of the core library?
Thanks in advance for any tips.