Switch to full style
ASP/ASP.net examples
Post a reply

get string length in asp

Sat Jul 14, 2012 6:47 pm

In this snippet we get the string length using uBound function
Code:

Dim myArray
(3Re-Declaring a dynamic array

myArray(0) = "AAA"
myArray(1)="BBB"
myArray(2)="CCC"
myArray(3)="EEEE"
Response.Write ("Total size of array = " UBound(myArray) )

for 
i=0 to uBound(myArray)
Response.Write "<br>" myArray(i)
Next 




Post a reply
  Related Posts  to : get string length in asp
 Pad a string to a certain length with another string     -  
 Pad array to the specified length with a value     -  
 Get field length     -  
 reverse ,length of strings as number of bytes     -  
 Splitting a String Based on a Found String     -  
 recursive string reversal- reverse string     -  
 check if string ends with specific sub-string in php     -  
 check if string start with a specific sub-string in PHP     -  
 String token for string split     -  
 String Flatten (C++)     -