Announcement

Collapse
No announcement yet.

How to find the first empty string in an array?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    How to find the first empty string in an array?

    Hi, As the title says, I'm trying to find the first empty string in an array and then add a string to it.
    This is what I have so far:
    Click image for larger version

Name:	AddToArray.PNG
Views:	1
Size:	141.1 KB
ID:	1169061

    This does work in a way. It finds an empty string in the array and adds the in putted string to it. The problem is that it adds to the end of the array and works it's way down as more strings are added, It doesn't start at index 0.

    How can I get around this?

    Thanks!

    #2
    Set Array Element is node what you want. (replace insert)
    Last edited by CriErr; 12-23-2015, 01:25 PM. Reason: param param pam, pam!

    Comment

    Working...
    X