Solved

String Manipulation

Posted on 1998-06-26
1
140 Views
Last Modified: 2010-05-03
I have a string in which I have the fromat like

abc.xyz.bcd

How can I grab xyz from the sting or bcd from the string
0
Comment
Question by:monalisa
1 Comment
 
LVL 6

Accepted Solution

by:
clifABB earned 10 total points
ID: 1464413
If you know you will always have three groups of three characters:
sSource = "abc.xyz.bcd"
sFirst = Left$(sSource, 3)
sSecond = Mid$(sSource, 5, 3)
sThird = Mid$(sSource, 9, 3)
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

708 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

13 Experts available now in Live!

Get 1:1 Help Now