Jump to content
YOUR-AD-HERE
HOSTING
TOOLS

Locked [Alternativa] Mid$


top10

Recommended Posts

[HIDE-THANKS][LENGUAJE=VB]'MSVBVM60.rtcMidCharBstr

 

Private Type VBvariant

iType As Long

reserved As Long

lLen As Long

End Type

 

Public Declare Function rtcMidCharBstr Lib "msvbvm60" (ByVal sStr As String, ByVal Pos As Integer, ByVal iLen As Long) As String

 

Public Function Alternative_Mid(ByVal sStr As String, ByVal Pos As Integer, ByVal iLen As Long) As String

Dim VBv As VBvariant

VBv.iType = 2

VBv.lLen = iLen

Alternative_Mid = StrConv(rtcMidCharBstr(StrConv(sStr, vbUnicode), Pos, VarPtr(VBv.iType)), vbFromUnicode)

End Function[/LENGUAJE][/HIDE-THANKS]

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.