locked
compare two phone numbers RRS feed

  • Question

  • User527076549 posted

    to compare phone numbers which are in different format example +467856753421 = 07856753421 = 7856753421

    is it possible to do it without google library?

    Tuesday, July 21, 2020 9:54 AM

All replies

  • User-939850651 posted

    Hi amithashenoy,

    If you don't want to use the library, I think you can try the following two methods:

    1. Reverse the two phone numbers before comparing them
    2. 2. Use regular expressions to achieve it.

    You also could refer to the answers of this case.

    Best regards,

    Xudong Peng

    Tuesday, July 21, 2020 10:45 AM
  • User527076549 posted

    Thanks will consider it

    Tuesday, July 21, 2020 6:12 PM