Notifications
Clear all

[Closed] getUserPropBuffer and array question

I’ve got a question about the userproperties.
I’m exporting my objects, and I need each line in the userproperties buffer to be exporter.
the problem is that my current code outputs each character in the line as one item.
the user properties is this:

LastPose = undefined
                        MyTest = asdfasdf
                        integertest = 123
                        floattest = 234.999
                                         My code:                     
test = #()
 test = getUserPropBuffer $
                        for i = 1 to test.count do
                        (
                         print test[i]
 )
                                         when I run this code, I get the following                     
"L"
                        "a"
                        "s"
                        "t"
                        "P"
                        "o"
                        "s"
                        "e"
                        " "
                        "="
                        " "
                        "u"
                        "n"
                        "d"
                        "e"
                        "f"
                        "i"
                        "n"
                        "e"
                        "d"
 .... etc
                                         how can I make it so that it outputs each line as one item in the array?                     

                                         thanks in advance.
2 Replies
filterstring (getUserPropBuffer $) "
"

thank you, that worked!