mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 14:02:46 +00:00 
			
		
		
		
	AK: Add trim_ascii_whitespace method to String
This commit is contained in:
		
							parent
							
								
									bc8cad31de
								
							
						
					
					
						commit
						a94c0eea94
					
				
					 2 changed files with 6 additions and 0 deletions
				
			
		|  | @ -150,6 +150,7 @@ public: | |||
| 
 | ||||
|     ErrorOr<String> trim(Utf8View const& code_points_to_trim, TrimMode mode = TrimMode::Both) const; | ||||
|     ErrorOr<String> trim(StringView code_points_to_trim, TrimMode mode = TrimMode::Both) const; | ||||
|     ErrorOr<String> trim_ascii_whitespace(TrimMode mode = TrimMode::Both) const; | ||||
| 
 | ||||
|     ErrorOr<Vector<String>> split_limit(u32 separator, size_t limit, SplitBehavior = SplitBehavior::Nothing) const; | ||||
|     ErrorOr<Vector<String>> split(u32 separator, SplitBehavior = SplitBehavior::Nothing) const; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 aryanbaburajan
						aryanbaburajan