new_version_of_string_util_ 1.0.0 copy "new_version_of_string_util_: ^1.0.0" to clipboard
new_version_of_string_util_: ^1.0.0 copied to clipboard

A Dart package for string manipulation and validation utilities.

StringUtils - A Dart String Utility Library #

🚀 StringUtils is a simple Dart package that provides useful string manipulation and validation functions.

📌 Features

  • ✅ Convert strings to camelCase, PascalCase, snake_case, and kebab-case
  • ✅ Trim and clean unwanted characters
  • ✅ Reverse strings
  • ✅ Extract numbers from text
  • ✅ Validate emails, check for palindromes, and assess password strength

📦 Installation Add the package to your pubspec.yaml:

dependencies: string_util: latest_version

Then, run: dart pub get

🔹 Usage Import the package: """ import 'package:string_util/string_util.dart';

void main() { // Reverse a string print(StringUtils.reverseString("hello")); // Output: "olleh"

// Convert case print(StringUtils.toCamelCase("hello world")); // Output: "helloWorld"

// Validate email print(StringUtils.isValidEmail("test@example.com")); // Output: true

// Check palindrome print(StringUtils.isPalindrome("racecar")); // Output: true } """

🛠️ Contributing We welcome contributions! Feel free to open an issue or submit a pull request.

📄 License This package is licensed under the MIT License.

0
likes
130
points
2
downloads

Publisher

unverified uploader

Weekly Downloads

A Dart package for string manipulation and validation utilities.

Documentation

API reference

License

MIT (license)

Dependencies

characters

More

Packages that depend on new_version_of_string_util_