I have a input phone number 489998723(filled by user). And form database I get following prefixes with rate in array
4899981
4899
4899988
489998
4899987
48999
How I will perform the exact match.
Example User entered 489998723 than it should match by 4899987.
Thanks in advance.