2018-08-18 20:54:24 +05:30 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								=========
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								## Java Strings Cookbooks and Examples
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2018-12-20 10:19:27 +05:30 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								### Relevant Articles:
 
							 
						 
					
						
							
								
									
										
										
										
											2019-10-02 11:30:08 -06:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								-  [String Operations with Java Streams ](https://www.baeldung.com/java-stream-operations-on-strings )
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								-  [Converting String to Stream of chars ](https://www.baeldung.com/java-string-to-stream )
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								-  [Java 8 StringJoiner ](https://www.baeldung.com/java-string-joiner )
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								-  [Converting Strings to Enums in Java ](https://www.baeldung.com/java-string-to-enum )
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								-  [Quick Guide to the Java StringTokenizer ](https://www.baeldung.com/java-stringtokenizer )
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								-  [Use char[] Array Over a String for Manipulating Passwords in Java?](https://www.baeldung.com/java-storing-passwords)
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								-  [Convert a String to Title Case ](https://www.baeldung.com/java-string-title-case )
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								-  [Compact Strings in Java 9 ](https://www.baeldung.com/java-9-compact-string )
							 
						 
					
						
							
								
									
										
										
										
											2018-09-07 16:56:13 +06:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								-  [Java Check a String for Lowercase/Uppercase Letter, Special Character and Digit ](https://www.baeldung.com/java-lowercase-uppercase-special-character-digit-regex )
							 
						 
					
						
							
								
									
										
										
										
											2018-09-09 22:55:31 -05:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								-  [Convert java.util.Date to String ](https://www.baeldung.com/java-util-date-to-string )
							 
						 
					
						
							
								
									
										
										
										
											2018-09-27 15:09:58 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								-  [Converting a Stack Trace to a String in Java ](https://www.baeldung.com/java-stacktrace-to-string )
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								-  [Sorting a String Alphabetically in Java ](https://www.baeldung.com/java-sort-string-alphabetically )
							 
						 
					
						
							
								
									
										
										
										
											2018-10-13 02:22:56 +06:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								-  [String Not Empty Test Assertions in Java ](https://www.baeldung.com/java-assert-string-not-empty )
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								-  [String Performance Hints ](https://www.baeldung.com/java-string-performance )
							 
						 
					
						
							
								
									
										
										
										
											2018-11-01 07:12:53 -05:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								-  [Using indexOf to Find All Occurrences of a Word in a String ](https://www.baeldung.com/java-indexOf-find-string-occurrences )
							 
						 
					
						
							
								
									
										
										
										
											2018-12-06 22:57:24 +05:30 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								-  [Adding a Newline Character to a String in Java ](https://www.baeldung.com/java-string-newline )
							 
						 
					
						
							
								
									
										
										
										
											2018-12-20 22:02:28 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								-  [Remove or Replace part of a String in Java ](https://www.baeldung.com/java-remove-replace-string-part )
							 
						 
					
						
							
								
									
										
										
										
											2019-10-02 11:30:08 -06:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								-  [Replace a Character at a Specific Index in a String in Java ](https://www.baeldung.com/java-replace-character-at-index )