The below will do so -
Public NotInheritable Class ClassExtensions
Private Sub New()
End Sub
<System.Runtime.CompilerServices.Extension> _
Public Shared Function GetProperDispCode(s As String) As String
Return If(String.IsNullOrWhiteSpace(s), String.Empty, s)
End Function
End Class