troubleshooting Question

A test on part of the string

Avatar of liljen_80
liljen_80 asked on
6 Comments1 Solution313 ViewsLast Modified:
I neet too do a test on part of a string:
I have a string lokking like this:
' <Status>8989</Status> and some more'
Then I would like to test if the string contains <Status>, but i do not know how manny whitespaces there are before <Status> and what is after </Status>. What I need is a test too se if <Status> is in the string.

I will also need too get the numbers after <Status>, this result wil I need to have in a list, preferably in a TList.

How too do this?

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 6 Comments.
Start Free Trial
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 6 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