1. How to get the length of a string (suppose I have a word written he is a good boy in a notepad .
how can i know the length of the string in the notepad plz help...
).?
you can find out through DP
Set FSO=CreateObject("Scripting.FileSystemObject")
set txtObj=FSO.OpenTextFile("f:\sample.txt") 'path of txt file
str=txtObj.ReadAll
msgbox len(str)
how can i know the length of the string in the notepad plz help...
).?
you can find out through DP
Set FSO=CreateObject("Scripting.FileSystemObject")
set txtObj=FSO.OpenTextFile("f:\sample.txt") 'path of txt file
str=txtObj.ReadAll
msgbox len(str)
No comments:
Post a Comment