• some debugging and i found that when you len a blank string you get 0

    //returns 0

    select len(' ')