Public Function StartTableCell( _
Optional ByVal align As String = "", _
Optional ByVal valign As String = "", _
Optional ByVal colspan As String = "", _
Optional ByVal rowspan As String = "", _
Optional ByVal width As String = "", _
Optional ByVal height As String = "") As String
Dim _StrBuil As New StringBuilder()
End Function
How can I display the values from the arguments where the caller has passed in a value? For example if align is "" it should not be displayed.
The simplest way to do this is to check each argument and build up the
StringBuilderone by one.For example: