5 th Apr 2020 00:07:33
Hai Friend , Sign In
Home
World
INDIA
Chennai City
Games
Developers
Members
Birthday
Search
Astrology
G. K.
Story
Tamil Nadu Government Holiday List 2018 in English and Tamil   *   Trichy: Wanted - PHP, MySql Programmers. Contact trichy people only 84894 28 444.   *   Indian Railways New Train Number List [Search / Enquiry / Locator / Finder]   *   பன்றிக் காய்ச்சல் பற்றி அறிந்து கொள்ளுங்கள் (Swine Flu H1N1)
See Also
InStr Function InStr Function
String Functions String Functions
Visual Basic Functions Visual Basic Functions
Visual Basic Home Visual Basic Home
 
Description  Syntax  Return Datatype  Example  Migration

Len Function - Visual Basic 6.0 (VB 6.0)

Returns the number of characters in a string or the number of bytes required to store a variable.
Syntax:
Len(string | varname)
Parameter Description
string Any valid string expression.
varname Any valid variable name
Required string or varname
Return Data type:
Long
Example:

Dim a as Integer
a = 140


Statement Result Remark
Len("abcd") 4  
Len("") 0  
Len(null) Null  
Len(140) Error Variable required - can't assign to this expression
Len(a) 2 lenth of integer variable
Len(True) Error Variable required - can't assign to this expression
Len(False) Error Variable required - can't assign to this expression
Len(unknown) 0 Uninitialized
Go to top

Migration from Visual Basic 6.0 (VB 6.0) to
  Len Function in VB Script (VBS)
  Len Function in JScript (JS)
  Len Function in ASP (Active Server Page)
  Len Function in PHP Script
  Len Function in MS-Access
  Len Function in MS SQL Server
  Len Function in Oracle
  Len Function in C Language
  Len Function in C++ Language
  Len Function in Foxpro
  Len Function in Fortran
  Len Function in MS Excel Sheet
Go to top
 





© 2005 - 2007 Chennaiiq.com. All Rights Reserved.

Our Sites: ChennaiIQ.com || Tamil Calendar || Tamil Panchangam || KP Astrology
Our Blogs: Tamil Calendar



9444