string_utilities_uz 1.0.0
string_utilities_uz: ^1.0.0 copied to clipboard
A Dart package for various string manipulation utilities.
String Utilities #
A Dart package for various string manipulation utilities.
Features #
- Trim: Removes whitespace from both ends of the string.
- To Upper Case: Converts the string to uppercase.
- To Lower Case: Converts the string to lowercase.
- Capitalize: Capitalizes the first letter of the string.
- Replace: Replaces all occurrences of a substring with another substring.
- Contains: Checks if the string contains a specified substring.
- Truncate: Truncates the string to a specified length and adds "..." if truncated.
Installation #
Add the following dependency to your pubspec.yaml file:
dependencies:
string_utilities: ^0.0.1