len of str vbs 1

len of str vbs

Len(string) //"hello" -> 5

Here is what the above code is Doing:
1. We’re defining a function called stringLen that takes in a parameter called string.
2. We’re returning the length of the string.
3. We’re calling the function and passing in the string “hello” as the argument.
4. We’re printing the result of calling the function.

Similar Posts