Wrox Programmer Forums
VB Databases Basics Beginning-level VB coding questions specific to using VB with databases. Issues not specific to database use will be redirected to other forums.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB Databases Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old May 9th, 2005, 12:47 AM
Authorized User
Join Date: Sep 2003
Posts: 72
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to zaeem Send a message via Yahoo to zaeem
Default Searching Within String

Hello this is Zaeem, I want to split a string, the string is like "EE123" which is basically course code of electronics in some intitute. the first two letter must be alphabet and remaining will be the digits.
I want to get splitted string digits and characters.
Anyone please help me.

thanx everybody

Zaeem Sherazi
Zaeem Sherazi
Old May 9th, 2005, 03:04 PM
Friend of Wrox
Join Date: Nov 2004
Posts: 1,621
Thanks: 1
Thanked 3 Times in 3 Posts

    Dim strCode As String
    Dim strCrse As String

    strCode = Left$(strCourseString, 2)
    strCrse = Mid$(strCourseString, 3)
    This won’t do the trick?

Similar Threads
Thread Thread Starter Forum Replies Last Post
Searching a String Hello_kitty Access 1 August 17th, 2005 09:45 AM
Searching Within String zaeem Classic ASP Databases 3 May 10th, 2005 01:06 AM
Searching for a string.... interrupt Javascript How-To 2 February 7th, 2005 01:00 PM
String Searching in a Table umagrama Access VBA 3 December 5th, 2003 12:25 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.