parse string

Posted on 2006-06-05
Last Modified: 2008-03-04
hi there; i'd like to parse the following:

dim strTemp = "ib01h"

and retrieve just "01"

so, basically, i just need everything between the 2nd character and the "h"

thanks all.
Question by:vbnewbie01
    LVL 142

    Accepted Solution

    some tutorials:

    string functions in c#:

    string functions in vbscript:

    Better learn how to do.
    LVL 5

    Expert Comment



    here 2 is the startindex. (Hope "h" will be a fixed.)

    LVL 1

    Author Comment

    thats what i was looking for ... thanks.

    Mid(strTemp, 3, 2)
    LVL 1

    Author Comment

    hi, sam, thanks for your response ... actually, the "h" was just a reference to illustrate the cutoff... sorry to confuse you ... but, thanks again.

    Featured Post

    Highfive Gives IT Their Time Back

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
    IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
    Hi everyone! This is Experts Exchange customer support.  This quick video will show you how to change your primary email address.  If you have any questions, then please Write a Comment below!
    This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor ( If you're looking for how to monitor bandwidth using netflow or packet s…

    754 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    22 Experts available now in Live!

    Get 1:1 Help Now