0

I have a javascript array of IP addresses,but some of IP address contains prot number like this: 198.228.200.169:46835 how can I use a javascript function to remove port number like this: 198.228.200.169

Thank you so much!

Zichen Ma
  • 907
  • 3
  • 14
  • 30

0 Answers0