devxlogo

IsNullString – Check whether a string contains white-spaces

IsNullString – Check whether a string contains white-spaces

' Return True is a string is made only of spaces, tabs, and Null characters.' This function is especially useful to test whether fixed-length strings ' are initialized.Function IsNullString(Text As String) As Boolean    Dim i As Long    For i = 1 To Len(Text)        Select Case Asc(Mid$(Text, i, 1))            Case 0, 9, 32            Case Else                Exit Function        End Select    Next    IsNullString = TrueEnd Function

devxblackblue

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist