Velocity script to empty content based on value
I want to include some personalized content in my email that says Member since: XXXX where XXXX=year (contained in a data field). And I want to populate the year if the field value is 2007 or later. For anything earlier than 2007, I want to hide Member since: XXXX altogether.
I'm using a Velocity script token in the email, but I don't know much about writing scripts and I don't know what to do on the second line below to hide the content. I just guessed null() but it's not working. Any ideas?
#if ($lead.MemberSince < 2007)
null()
#else
Member since: $lead.MemberSince
#end