Asp > Code Snippets
Length of a string using Len and Lenb
Length of a string using Len and Lenb <% Dim strLength strLength = "this is our text string" 'return the length of the string strLength Response.Write Len(strLength) response.Write "
" 'return the length of the string strLength in bytes Response.Write LenB(strLength) %>
Asp Codes
ActiveX
ADO
Array
Code Snippets
Components
Data Access
Date Time
Files
Graphics
HTML Formatting
Mathematics
Miscellaneous
Sessions
SQL
Strings
Techniques
XML