programming-examples/asp/More_Code_Snippets/Length of a string using Len and Lenb.asp

9 lines
251 B
Plaintext
Raw Normal View History

2019-11-18 14:25:58 +01:00
<%
Dim strLength
strLength = "this is our text string"
'return the length of the string strLength
Response.Write Len(strLength)
response.Write "<br>"
'return the length of the string strLength in bytes
Response.Write LenB(strLength)
%>