troubleshooting Question

How do I split a string in Crystal Reports 7?

Avatar of ferguson_jerald
ferguson_jerald asked on
Crystal Reports
7 Comments1 Solution518 ViewsLast Modified:
Hello Experts.

I have a Crystal Report that has a field with a persons entire name.  Some people have "firstName middleInitial lastName", "firstName lastName", "firstName1 firstName2 middleName1 middleName2 lastName".

The entries all vary in length, but all I need is the last name.  The last name is always preceded by a space.  How do I split the entry and capture just that part of the string following the last space?

Any help is greatly appreciated.

Thanks,
J
ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 1 Answer and 7 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 7 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