troubleshooting Question

Help with this Function.

Avatar of 4Rabbits
4Rabbits asked on
DelphiCOBOL
32 Comments1 Solution275 ViewsLast Modified:
Hi.

I have this Function I'd like to make but am stuck on how to make it, and would anyone help me make it?

for example, I have a string /1/2/3/4/5/6/7/8/9


now I need to select parts of it and bring back the number.

so if I wanted to go 4 lengths then it be '4'

every digit is paced with a / so am looking for a function which looks like this

edit1.text:=GetDigit('/1/2/3/4/5/6/7/8/9',4);
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 32 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 32 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros