05-25-2023, 11:04 PM
I know the "StringTokenizer" class from Java. Recreating this might not be easy. It would probably make more sense to be able to call a corresponding program in Java from QB64 with the transfer of a text. Just like it is with C.
In Java:
In Java:
Code: (Select All)
/* StrinkTokenizer Beispiel - 26. Mai 2023 */
import java.util.*;
public class BeispielToken
{
public static void main(String[] args)
{
String s = "Dies ist nur ein Test";
StringTokenizer st = new StringTokenizer(s);
while (st.hasMoreTokens())
{
System.out.println(st.nextToken());
}
}
}