Function StripTerminator(ByVal strString As String) As String
Dim intZeroPos As Integer
intZeroPos = InStr(strString, Chr$(0))
If intZeroPos > 0 Then
StripTerminator = Left$(strString, intZeroPos - 1)
Else
StripTerminator = strString
End If
End Function
18 Temmuz 2007 Çarşamba
Returns a string without any zero terminator. Typically, this was a string returned by a Windows API call
Subscribe to:
Kayıt Yorumları (Atom)
0 Comments:
Post a Comment