Get the length of a String : len « String Functions « VBA / Excel / Access / Word






Get the length of a String

 
Sub GetLengthOfString()
   Dim stFullName As String
  
   stFullName = "C:\asdf\asdf.xls"

    MsgBox Len(stFullName)
End Sub

 








Related examples in the same category

1.Finding a string length
2.Using Len(string) to Check the Length of a String