I have field type string that can get two type of values on it:
- simple field e.g. p1
- complex fields p1/p2/p3/p4
Now I have 2 questions:
- how can I identify that the type is complex with little effort as possible since
the check is runs in loop? - when I got type complex I need to store the last two properties for
example p3 and P4?
just use split operation and check length.