Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[NEED HELP] Currency coverter.
#4
Yep, and you will need to use a GetBetween function in order to extract the specific string you need.
Credits go to whoever coded this function. I've forgotten his username.

Code:
Public Function GetBetween(ByRef strSource As String, ByRef strStart As String, ByRef strEnd As String, _
                                Optional ByRef startPos As Integer = 0) As String
        Dim iPos As Integer, iEnd As Integer, lenStart As Integer = strStart.Length
        Dim strResult As String

        strResult = String.Empty
        iPos = strSource.IndexOf(strStart, startPos)
        iEnd = strSource.IndexOf(strEnd, iPos + lenStart)
        If iPos <> -1 AndAlso iEnd <> -1 Then
            strResult = strSource.Substring(iPos + lenStart, iEnd - (iPos + lenStart))
        End If
        Return strResult
    End Function

If you need anymore help just let me know.
Reply


Messages In This Thread
[NEED HELP] Currency coverter. - by w00pz - 08-14-2011, 03:40 AM
RE: [NEED HELP] Currency coverter. - by Fragma - 08-14-2011, 04:35 AM
RE: [NEED HELP] Currency coverter. - by w00pz - 08-14-2011, 07:18 AM
RE: [NEED HELP] Currency coverter. - by Fragma - 08-14-2011, 07:25 AM
RE: [NEED HELP] Currency coverter. - by w00pz - 08-14-2011, 07:31 AM
RE: [NEED HELP] Currency coverter. - by Fragma - 08-14-2011, 07:39 AM
RE: [NEED HELP] Currency coverter. - by w00pz - 08-14-2011, 08:01 AM
RE: [NEED HELP] Currency coverter. - by Fragma - 08-14-2011, 08:05 AM
RE: [NEED HELP] Currency coverter. - by w00pz - 08-14-2011, 08:12 AM
RE: [NEED HELP] Currency coverter. - by Fragma - 08-14-2011, 08:13 AM
RE: [NEED HELP] Currency coverter. - by w00pz - 08-14-2011, 08:14 AM
RE: [NEED HELP] Currency coverter. - by Fragma - 08-14-2011, 08:18 AM
RE: [NEED HELP] Currency coverter. - by w00pz - 08-14-2011, 08:19 AM
RE: [NEED HELP] Currency coverter. - by Fragma - 08-14-2011, 08:23 AM
RE: [NEED HELP] Currency coverter. - by w00pz - 08-14-2011, 08:26 AM
RE: [NEED HELP] Currency coverter. - by Fragma - 08-14-2011, 08:36 AM
RE: [NEED HELP] Currency coverter. - by w00pz - 08-14-2011, 08:37 AM
RE: [NEED HELP] Currency coverter. - by Fragma - 08-14-2011, 08:49 AM
RE: [NEED HELP] Currency coverter. - by w00pz - 08-14-2011, 09:02 AM
RE: [NEED HELP] Currency coverter. - by Fragma - 08-14-2011, 09:06 AM
RE: [NEED HELP] Currency coverter. - by BreShiE - 08-14-2011, 10:33 AM
RE: [NEED HELP] Currency coverter. - by Fragma - 08-14-2011, 10:54 AM

Forum Jump:


Users browsing this thread: 2 Guest(s)