General information
Category:
Coding, syntax & commands
I was out of station,so is the delay sorry!
The functionality of the ConvertString
--------
Public Function ConvertString(tmpVal As String, KeyValSize As Long) As String
If (Asc(Mid(tmpVal, KeyValSize, 1)) = 0) Then
(If Win95 Adds Null Terminated String...)
ConvertString = Left(tmpVal, KeyValSize - 1)
(Null Found, Extracting From String)
Else
(IF WinNT Does NOT Null Terminate String...)
ConvertString = Left(tmpVal, KeyValSize)
(Null Not Found, Extracting String Only)
End If
End Function
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only