String.Empty : String « System « VB.Net by API






String.Empty

  



Option Strict On

Public Module CommandTest
   Public Sub Main()
      Dim arguments As String = Command
      If arguments = String.Empty Then
         Console.WriteLine("An empty string.")
      Else
         ' handle command line argument(s)
         Console.WriteLine("Command line: {0}", arguments)
      End If
   End Sub
End Module

   
    
  








Related examples in the same category

1.String.Compare
2.String.Concat
3.String.Copy
4.String.Equals
5.String.Format
6.String.GetEnumerator
7.String.GetHashCode()
8.String.IndexOf(String substring)
9.String.IndexOfAny(String sub)
10.String.IndexOfAny(String sub, Int count)
11.String.Insert
12.String.IsNullOrEmpty
13.String.LastIndexOf
14.String.PadLeft(Int length)
15.String.PadLeft(Int length, String char)
16.String.Replace
17.String.Split
18.String.StartsWith
19.String.Substring(Int begin)
20.String.Substring(Int begin, Int end)
21.String.ToCharArray()
22.String.ToLower()
23.String.ToUpper()