I'm trying to figure out what you mean when you say, "in the debugger." You're talking about Flex Builder, right? And where do you see the debugger saying that !strValue is true and strValue is true? Did you type "!strValue" and "strValue" into the Expressions view, or what?
When I try putting those into the Expressions view, I get: !strValue = true strValue = "" ... which is the correct result. - Mike Morearty, Adobe Flex Builder team --- In flexcoders@yahoogroups.com, "reflexactions" <[EMAIL PROTECTED]> wrote: > > I have an if statement that is supposed to catch nulls and empty > strings: > if(strValue)..... > > The problem I am having is in one situation with strValue having a > value of "" the if statement executes.. > > actually in the debugger > !strValue is true and strValue is true > > I am more interested in why this isnt working than how to fix it if > anyone has an idea. > > tks >