Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
π Flutter_Extend Version 0.3.0 is now live! See our changelog for details.
Advanced string manipulation using built-in regular expressions for extracting digits, filtering words, removing whitespace, and checking content types.
final messy = 'Price: $12.99 USD'; print(messy.extractDigits()); // "1299"
0-9
final mixed = 'Address line 123 Street 4'; print(mixed.removeAllDigits()); // "Address line Street "
final long = 'one two\nthree'; print(long.removeAllWhiteSpaces()); // "onetwothree"
final input = '10users 3rd place is here 54.'; print(input.removeAllWordsStartingWithNumber()); // "place is here 54."
final sentence = 'The Flutter app is amazing!'; print(sentence.getWords()); // ["The", "Flutter", "app", "is", "amazing"]
print('12345'.isDigitsOnly()); // true print('123 a'.isDigitsOnly()); // false
a-z
A-Z
print('Flutter'.isTextOnly()); // true print('Flutter Dev'.isTextOnly()); // false (contains space)
PascalCase
final camel = 'UserProfileData'; print(camel.splitByUpperCase()); // ["User", "Profile", "Data"]
Was this page helpful?