Number::Phone::Formatter::Raw(3pm)

Number::Phone::Formatter::Raw3pm

Simple formatter for e.123-formatted phone numbers

Overview

A simple formatter to extract "just the digits, ma'am" from an E.123-formatted phone number.

Method

format

This is the only method. It takes an E.123 international format string as its only argument, strips off the leading + and country code, and any whitespace, and returns what's left. For example ...

  +44 20 8771 2924 -> 2087712924
  +1 212 334 0611  -> 2123340611

Releases

5 releases since Debian 9 (Stretch); the text changed 4 times.

  1. 9
  2. 10
  3. 11
  4. 12
  5. 13

From libnumber-phone-perl 4.0006-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.