Sanitize_name

Hi …

i found this below code somewhere…

And Curious to know

UserInfo.sanitize_name( first_name )
unless name.nil? or name.blank?

Actually what it does and wht it returns…
Kindly Guide Me…

Thanks