phonewords 1.1.1 copy "phonewords: ^1.1.1" to clipboard
phonewords: ^1.1.1 copied to clipboard

A package to generate numeric phone numbers from words.

example/lib/example.dart

import 'package:phonewords/phonewords.dart'; // Import the phonewords library

void main() {
  print(numberFromString(
      "1-800-543-DART")); // Use the phonewords library function, numberFromString, to convert the phone number
  print(numberFromString(
      "1800333HELP")); // Another example of using the function to convert a phone number. You don't need to add dashes or spaces; the function will handle it.
  print(numberFromString(
      "1-800-MY-TAXES")); // Yet another example, where the function converts a phone number with letters to digits.
}
0
likes
150
points
20
downloads

Publisher

unverified uploader

Weekly Downloads

A package to generate numeric phone numbers from words.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

More

Packages that depend on phonewords