I have an IF snippet that I need some help in making some changes if possible.
if ((left(ID,2)="AR" OR left(ID,2)="WO" ) and len(String1) <= 0) then
String1 = ""
elseif Len(String1) > 0 then
udfString1 = String1
So what I am trying to accomplish is the following:
If an item contains AR or WO and the string1 is empty then string1 can be saved empty.
If string1 has a value, then that value can be saved.
What I am not sure of, is what would happen if string1 has a value, but it contains AR or WO? would it be saved still? - which is fine - or will it be left blank?
I am not sure if I am reading the logic correctly.
You help is greatly appreciated.