Help for Parsing proc

Something wrong I got:
The operation select list item cannot accept the arguments: , [">,appliventor*net,+61240509550"], [2]
Note: You will not see another error reported for 5 seconds.

so input is >,appliventor*net,+61240509550

and I need :

ActualEmail = appliventor@net

ActualPhonNB =+61240509550

AddOrDelete = True for > or False for <

data is not a list, change to ListDataMsg

1 Like

You might have to nest the second set of init locals inside the first init local.

1 Like

Hi, I understand , but how to nest, I tried something without success.
When I split data at “,” I get [ “<“,”email*net”,”+61254645879”]
ListDataMsg is list? should I make a list and how ?
thanks for time.

split returns a list, so ListDataMsg is a list ( while data is a string ).

Simply substitute the 3 “get data” ( circled by @ABG ) with “get ListDataMsg” and you should be good to go

Like an onion.

One init local block inside another.

Hi nesting for sure I don’t know how to do that.
could I get an example?
here under ListDataMsg is not avalable.

The variable $ListDataMsg is not bound in the current context

I was wrong, as @ABG said, you have to define an outer local LstDataMsg and the others locals inside this block ( as you found the LstDataMsg is only defined inside the block, and not in the initialization part )

1 Like

Sorry but I can’t do it.
Same error for both.
The variable $phone is not bound in the current context

testparsing.aia (4.4 KB)

you had a typo Phone/phone

testparsing1.aia (4.3 KB)

2 Likes

Thank you Davidela I got it.
It works

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.