We help IT Professionals succeed at work.

finding the character from a string after the nth occurrence of another character.

83 Views
Last Modified: 2018-10-29
Dear Experts,

I have strings in the format below.

"2~212.88.127.3~641~10~3~01~internet~X~0~X~8672610208821278~64110-6007-47841~3333~X~X~X~X~X~X~20~X~X"
 some have a value "3333" after the 13th occurrence of character ~ and others don't have

I want to pick only those that have the  "3333"

But i am failing

Anthony
Comment
Watch Question

Senior Software Engineer
CERTIFIED EXPERT
Top Expert 2009
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.