Test for blank/empty after calling Media Object Structures (<Get Text>)?

Andrew2009

Well Known Member
I have a variable called szMediaText_DL01 and assign it text after calling <Get Text> action of the Media Object Structures system function.

I want to test if szMediaText_DL01 is empty or not. I can see szMediaText_DL01 is null in the debugger when there's nothing in the text media object. But when I used length(szMediaText_DL01), it returns length of 4. So it must have some invisible characters.

How do I test if szMediaText_DL01 is empty or not after I called <Get Text> please?

I code this in an ER and I'm using EOne 9

Thanks
 
Andrew,

There is a business function called "Remove Illegal Characters For A String" (B1702080) that may strip those characters out. However, it would be best done on a copy. If the variable is not empty, then you may need to retain the extra characters.
 
Back
Top