2019-10-03 08:58:43 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
								
									
								 | 
							
							
								## Java Strings Cookbooks and Examples
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
								
									
								 | 
							
							
								
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
								
									
								 | 
							
							
								This module contains articles about strings in Java.
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
								
									
								 | 
							
							
								
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
								
									
								 | 
							
							
								### Relevant Articles:
							 | 
						
					
						
							
								
									
										
										
										
											2019-05-12 17:34:31 +03:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
								
									
								 | 
							
							
								
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
								
									
										
									
								 | 
							
							
								- [Java Localization – Formatting Messages](https://www.baeldung.com/java-localization-messages-formatting)
							 | 
						
					
						
							
								
									
										
										
										
											2019-05-12 17:29:53 +03:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
								
									
								 | 
							
							
								- [Check If a String Contains a Substring](https://www.baeldung.com/java-string-contains-substring)
							 | 
						
					
						
							
								
									
										
										
										
											2019-05-19 08:35:16 +03:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
								
									
								 | 
							
							
								- [Removing Stopwords from a String in Java](https://www.baeldung.com/java-string-remove-stopwords)
							 | 
						
					
						
							
								
									
										
										
										
											2019-10-02 11:30:08 -06:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
								
									
										
									
								 | 
							
							
								- [Java – Generate Random String](https://www.baeldung.com/java-random-string)
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
								
									
								 | 
							
							
								- [Image to Base64 String Conversion](https://www.baeldung.com/java-base64-image-string)
							 | 
						
					
						
							
								
									
										
										
										
											2019-08-02 10:14:32 +05:30
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
								
									
								 | 
							
							
								- [Java Base64 Encoding and Decoding](https://www.baeldung.com/java-base64-encode-and-decode)
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
								
									
								 | 
							
							
								- [Generate a Secure Random Password in Java](https://www.baeldung.com/java-generate-secure-password)
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
								
									
								 | 
							
							
								- [Removing Repeated Characters from a String](https://www.baeldung.com/java-remove-repeated-char)
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
								
									
								 | 
							
							
								- [Join Array of Primitives with Separator in Java](https://www.baeldung.com/java-join-primitive-array)
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
								
									
								 | 
							
							
								- [Pad a String with Zeros or Spaces in Java](https://www.baeldung.com/java-pad-string)
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
								
									
								 | 
							
							
								- [Remove Emojis from a Java String](https://www.baeldung.com/java-string-remove-emojis)
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
								
									
								 | 
							
							
								- [Convert a Comma Separated String to a List in Java](https://www.baeldung.com/java-string-with-separator-to-list)
							 | 
						
					
						
							
								
									
										
										
										
											2019-10-02 11:30:08 -06:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
								
									
								 | 
							
							
								- [Guide to java.util.Formatter](https://www.baeldung.com/java-string-formatter)
							 | 
						
					
						
							
								
									
										
										
										
											2019-08-02 10:14:32 +05:30
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
								
									
								 | 
							
							
								- [Remove Leading and Trailing Characters from a String](https://www.baeldung.com/java-remove-trailing-characters)
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
								
									
								 | 
							
							
								- [Concatenating Strings In Java](https://www.baeldung.com/java-strings-concatenation)
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
								
									
								 | 
							
							
								- [Java String Interview Questions and Answers](https://www.baeldung.com/java-string-interview-questions)
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
								
									
								 | 
							
							
								- [Check if a String is a Pangram in Java](https://www.baeldung.com/java-string-pangram)
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
								
									
								 | 
							
							
								- [Check If a String Contains Multiple Keywords](https://www.baeldung.com/string-contains-multiple-words)
							 | 
						
					
						
							
								
									
										
										
										
											2019-08-02 22:22:40 +08:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
								
									
								 | 
							
							
								- [Checking for Empty or Blank Strings in Java](https://www.baeldung.com/java-blank-empty-strings)
							 | 
						
					
						
							
								
									
										
										
										
											2019-07-15 04:13:32 -07:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
								
									
								 | 
							
							
								- [String Initialization in Java](https://www.baeldung.com/java-string-initialization)
							 | 
						
					
						
							
								
									
										
										
										
											2019-08-02 21:48:49 +08:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
								
									
								 | 
							
							
								- [Java Multi-line String](https://www.baeldung.com/java-multiline-string)
							 | 
						
					
						
							
								
									
										
										
										
											2019-08-02 21:49:32 +08:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
								
									
								 | 
							
							
								- [Checking If a String Is a Repeated Substring](https://www.baeldung.com/java-repeated-substring)
							 | 
						
					
						
							
								
									
										
										
										
											2019-08-02 22:11:01 +08:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
								
									
								 | 
							
							
								- [How to Reverse a String in Java](https://www.baeldung.com/java-reverse-string)
							 | 
						
					
						
							
								
									
										
										
										
											2019-08-13 17:09:08 +05:30
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
								
									
								 | 
							
							
								- [String toLowerCase and toUpperCase Methods in Java](https://www.baeldung.com/java-string-convert-case)
							 | 
						
					
						
							
								
									
										
										
										
											2019-10-02 21:16:24 +08:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
								
									
								 | 
							
							
								- [Guide to StreamTokenizer](https://www.baeldung.com/java-streamtokenizer)
							 | 
						
					
						
							
								
									
										
										
										
											2019-10-03 08:58:43 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
								
									
								 | 
							
							
								- More articles: [[<-- prev>]](/java-strings) [[next -->]](/java-strings-3)
							 |