Answers for "vba string length"

VBA
1

vba string length

MsgBox Len("Helloworld !")     ' 12
Posted by: Guest on February-01-2021
0

vba string length

Dim myString as String
Dim arr() as String
Dim str_len as Integer

myString = "Come visit Mzansi over the holidays"
arr = Split(myString, " ")
'Compute string length i.e number of 'words'
str_len = UBound(arr) - LBound(arr) + 1
Posted by: Guest on January-12-2021

Code answers related to "VBA"

Browse Popular Code Answers by Language