×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Variable Length String - Extract Middle Portion Multiple Delimeters

Variable Length String - Extract Middle Portion Multiple Delimeters

Variable Length String - Extract Middle Portion Multiple Delimeters

(OP)
Greetings,

I gave a formula that returns a string value. Typical results are shown below. The variable length nature of the formula is that it has a sales representative's first and last name following the warehouse identifier.

Example: {@Burst Conditional Formula}

WHSE 101 - James Pstrzoch
WHSE 201 - Jane Doe

What I need your assistance with is creating a formula to return the first name of the sales rep. In the first example the desired result would be, "James", and in the second, "Jane".

Can you help me please?

Thank you!
James J. Pstrzoch

RE: Variable Length String - Extract Middle Portion Multiple Delimeters

Assuming the data is consistent, the following formula will return the 1st name of the sales rep:

CODE

Split(Split({Table.Data}, ' - ')[2], ' ')[1] 


Hope this helps.

Cheers
Pete

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close