Thursday, April 17, 2014

Understand: Split and UBOUND functions


 'Split - Returns a zero-based, one-dimensional array containing a specified number of substrings.
strString = Split(strString, "\")

 'UBound - Returns the highest available subscript for the indicated dimension of an array.
For i = 0 To UBound(strString) - 1
     strNewPath = strNewPath & strString(i) & "\"
Next


4/23/2014..
today I have found that there are lbound and Ubound functions, that will give you lower bound and upper bound values.


No comments:

Post a Comment