2018-08-18 20:54:24 +05:30 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								=========
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								## Java Strings Cookbooks and Examples
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2018-12-20 10:19:27 +05:30 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								### Relevant Articles:
  
						 
					
						
							
								
									
										
										
										
											2018-08-18 20:54:24 +05:30 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								-  [String Operations with Java Streams ](http://www.baeldung.com/java-stream-operations-on-strings ) 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								-  [Converting String to Stream of chars ](http://www.baeldung.com/java-string-to-stream ) 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								-  [Java 8 StringJoiner ](http://www.baeldung.com/java-string-joiner ) 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								-  [Converting Strings to Enums in Java ](http://www.baeldung.com/java-string-to-enum ) 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								-  [Quick Guide to the Java StringTokenizer ](http://www.baeldung.com/java-stringtokenizer ) 
						 
					
						
							
								
									
										
										
										
											2019-02-28 21:20:04 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								-  [Use char[] Array Over a String for Manipulating Passwords in Java?](http://www.baeldung.com/java-storing-passwords) 
						 
					
						
							
								
									
										
										
										
											2018-08-18 20:54:24 +05:30 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								-  [Convert a String to Title Case ](http://www.baeldung.com/java-string-title-case ) 
						 
					
						
							
								
									
										
										
										
											2018-09-07 16:56:13 +06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								-  [Compact Strings in Java 9 ](http://www.baeldung.com/java-9-compact-string ) 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								-  [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-08-02 10:14:32 +05:30 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								-  [Replace a Character at a Specific Index in a String in Java ](https://www.baeldung.com/java-replace-character-at-index )