• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 205
  • Last Modified:

String Manipulation

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
monalisa
Asked:
monalisa
1 Solution
 
clifABBCommented:
You duplicated the question again.  :)

You should delete this one, I've answered the other.
0
 
dgb001Commented:
Dim oldstring as string
Dim newstring as string
Dim X as byte

let oldstring = "abc.xyz.bcd"
let X=INSTR(oldstring,"bcd")
let newstring=mid(oldstring,X,3)

Just do a similar thing for the other ones. There are of course many variations on how to do this, and also with less code, but you should probably be able to follow this code with no problem.




abc.xyz.bcd

0
 
monalisaAuthor Commented:
Thank you very much
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now