Have a looks at ways to remove certain words from a Java String
Search Results for: split string
Common String Operations in Java
Learn how to work with Strings in Java
Check If a String Contains Multiple Keywords in Java
Learn about various methods to determine if a Java String contains multiple keywords
Map to String Conversion in Java
Learn how to convert a Map to a String and the other way around using both core Java methods and third-party libraries.
Java String Interview Questions and Answers
Prepare for your next Java interview. How many of these do you already know?
Convert a Comma Separated String to a List in Java
Discover how to convert a comma separated string of integers or strings to a list in Java.
Java 11 String API Additions
Learn about additions to the String API in Java 11.
Array to String Conversions
Learn how to convert arrays to strings and back again in Java
String Performance Hints
Learn about the performance aspects of the Java String API
Convert a String to Title Case
Have a look at different ways to convert a String to title case in Java
RxJava StringObservable
A quick guide to manipulating Strings using RxJava
Introduction to Spliterator in Java
Learn about the Spliterator interface that can be used for traversing and partitioning sequences.
Quick Guide to the Java StringTokenizer
Learn how to use StringTokenizer in Java.
String Operations with Java Streams
Learn how to split a comma-separated String into a list of Strings and how to join a String array into a comma-separated String.
Join and Split Arrays and Collections in Java
A quick article with many examples of joining and splitting arrays and collections using Java Stream API.
Guava – Join and Split Collections
How to use the Guava Splitter and Joiner to convert to and from collections and Strings.
Convert a Phone Number in Words to Number with Java
We may wish to convert a telephone number, expressed in words, into its equivalent digits. We look at a general algorithm for processing the names of digits and multiplicative words such as double.
Remove All Characters Before a Specific Character in Java
Explore several approaches to removing all characters before a specified character in a string.
How to Test Spring Application Events
Learn how to test code that uses Spring application events.
Continue With Transaction After Exception in JPA
Understand when continuing with the transaction after encountering an exception may be necessary and learn how to handle this in Spring JPA.