Relevance question convert plurar to singular

All,
need some help with below relevance. returns plural but would like to convert this to singular

Q: (subnet address of it as string as version) whose (it !=“127.0.0”) of ip interfaces whose (up of it) of network
I: Current Selection Evaluation
A: 192.168.0.0
A: 143.29.213.184
A: 192.168.56.0
T: 1.471 ms

If I run the above command in action script it return everything in 1 line without any separator, which makes it hard to distinguish individual ip subnets.

parameter “_Subnet”=“{(subnet address of it as string as version) whose (it !=“127.0.0”) of ip interfaces whose (up of it) of network}”

Output
192.168.0.0143.29.213.184192.168.56.0

I would like to convert the output to some thing like this, the separator does not matter.

192.168.0.0|143.29.213.184|192.168.56.0

Thx.

How about something like:

concatenation "|" of ((subnet address of it as string as version) whose (it != "127.0.0") of ip interfaces whose (up of it) of network as string)

Aram, Thx that’s what I was looking for, appreciate the quick help

Aram,
Follow-up on this one, what if I want to include the subnet mask also for each subnet

concatenation “|” of ((subnet address of it as string as version) whose (it != “127.0.0”) of ip interfaces whose (up of it) of network as string)

Output: 192.168.0.0|143.29.213.184|192.168.56.0

concatenation “|” of ((subnet mask of it as string as version) whose (it != “255.0.0”) of ip interfaces whose (up of it) of network as string)

Output: 255.255.255.0|255.255.255.255|255.255.255.0

Combined output would be something like below

Output like this: 192.168.0.0;255.255.255.0|143.29.213.184;255.255.255.255|192.168.1.0;255.255.255.128

Thx again for your help

cidr strings gives you the subnet in cidr format if that helps you

Try

concatenation "|" of ((subnet address of it as string & ";" & subnet mask of it as string) whose (item 0 of it != "127.0.0.0") of ip interfaces whose (up of it) of network as string)

Or maybe item 0 of it does not start with "127.0.0."