Help

Extract part of a string between same character, "

Topic Labels: Formulas
Solved
Jump to Solution
1742 2
cancel
Showing results for 
Search instead for 
Did you mean: 
Charne_Morris
5 - Automation Enthusiast
5 - Automation Enthusiast

I have a field with a value "feather29sum"cxa. I need to extract the feather29sum only and ignore everything else. Can someone please help with this formula?

1 Solution

Accepted Solutions
Justin_Barrett
18 - Pluto
18 - Pluto

This should work:

TRIM(LEFT(SUBSTITUTE({Field Name}, '"', REPT(" ", 25)), 50))

Breakdown, in to out:

  • The SUBSTITUTE() function replaces the quotes with blocks of 25 spaces.
  • We then grab the left-most 50 characters, which picks out the first 25 spaces, all of the text you want, and some portion of the next 25 spaces.
  • We then trim off the spaces.

See Solution in Thread

2 Replies 2
Justin_Barrett
18 - Pluto
18 - Pluto

This should work:

TRIM(LEFT(SUBSTITUTE({Field Name}, '"', REPT(" ", 25)), 50))

Breakdown, in to out:

  • The SUBSTITUTE() function replaces the quotes with blocks of 25 spaces.
  • We then grab the left-most 50 characters, which picks out the first 25 spaces, all of the text you want, and some portion of the next 25 spaces.
  • We then trim off the spaces.

Thanks Justin, this is exactly what I needed.