Top "Stringtokenizer" questions

StringTokenizer is a Java class that breaks a string into tokens.

How to find a whole word in a String in java

I have a String that I have to parse for different keywords. For example, I have the String: "I will …

java string pattern-matching stringtokenizer
Convert time value to format “hh:mm Am/Pm” using Android

I am getting date value from database like "2013-02-27 06:06:30" using StringTokenizer I will get time separately like below String …

android stringtokenizer android-date
Private Methods Over Public Methods

I was examining the StringTokenizer.java class and there were a few questions that came to mind. I noticed that …

java encapsulation stringtokenizer private-methods public-method
Why is StringTokenizer deprecated?

The Java documentation doesn't seem to mention anything about deprecation for StringTokenizer, yet I keep hearing about how it was …

java string split deprecated stringtokenizer
Performance of StringTokenizer class vs. String.split method in Java

In my software I need to split string into words. I currently have more than 19,000,000 documents with more than 30 words …

java performance stringtokenizer
Read data from a text file and create an object

I need some help: I'm making a Supermarket simulation on Java, but I've got one problem, I have a text …

java bufferedreader readfile stringtokenizer writefile
Difference between using StringTokenizer and String.split( )?

I've been using String[] split(String) of String class to split any string for some given delimiter, and it worked …

java string split stringtokenizer
Elasticsearch: Find substring match

I want to perform both exact word match and partial word/substring match. For example if I search for "men's …

autocomplete elasticsearch substring stringtokenizer n-gram
Parsing Data from CSV to Array in Java

I'm trying to import a CSV file into an array that I can use within a Java program. The CSV …

java csv stringtokenizer
Regular expression for 6 digit number with optional 2 decimal digits

I need a regular expression for 6 digit number with optional 2 decimal digit Allowed values: .1 .11 0.11 10. 10.1 10.12 00.00 0.0 00.00 123456 12345 1234 123 12 1 0 0. 123. 123.55 123456.

regex stringtokenizer