0 purchases
string utility
String Utility #
an extension library to deal with common String and Regex problem.
avoid copy-pasta common regex by using this library.
Features #
check string contain lowercase and uppercase
check string contain space
check is string alphanumerc, alphanumeric uppercase., alphanumeric uppercase with symbol.
remove extra whitespace.
censor sensitive string
check is string url formal
check is string email fomat
Installing #
add this to pubspec.yaml
string_utility: any
copied to clipboard
get dependency
pub get
copied to clipboard
or
flutter pub get
copied to clipboard
Usage #
import first
import 'package:string_utility/string_utility.dart';
copied to clipboard
then, you can start using for example checking string is a valid email :
print('[email protected]'.isEmail)
// True
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.