0

Mixing Arrays os strings?

Hello Ninox gurus!

I have 2 strings from a sub-table:

String 1: Number1, Number2, Number3.....

String 2: TextA, TextB, TextC....

 

I need to get:

"Number1, TextA, Number2, TextB, Number 3, TextC...."

 

I suspect it must be very simple/easy but I always get frustrated with strings and arrays.

 

Ideas?

 

Thank you!

3 replies

null
    • Ninox partner
    • RoSoft_Steven.1
    • 3 yrs ago
    • Reported - view

    Just out of the wrist

    join(for p in range(0,cnt('String 1') do item('String 1',p) + "," + item('String 2',p) end ,",")

    So I didn't try it, it might need some tweaking...

    Steven

    • SoluMaker
    • 3 yrs ago
    • Reported - view

    Dear Steven,

    You are a genius!! it worked perfectly (just 1 ")" missing but easy to solve out) and in such a short time.

    Thanks for sharing! and also thanks for your GOOGLE MAPS template. It's super interesting.

    • Ninox partner
    • RoSoft_Steven.1
    • 3 yrs ago
    • Reported - view

    Javier,

    Thank you for these words of praise, they are the reason to keep doing this.

    Steven

Content aside

  • 3 yrs agoLast active
  • 3Replies
  • 558Views