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
  • 737
  • 3
  • 11
  • 26

0 Answers0