KaisaJanzen
9 years agoQrew Cadet
Formula To Truncate Text Field
I need to write a formula for a text field titled "subject" that consistently removes the text
"Confirmation Copy of Welcome Letter sent to" from the subject heading "Confirmation Copy of Welcome Letter sent to example@address.com"
and leaves me with only "example@address.com"
After some trial and error,
I have written the formula
Left([Subject],20)
and this will show me the first 20 characters.
Alternatively, Right([Subject],20) displays the last 20.
These steps are not ideal because I need to display the email address, which is has a varied character length.
I have attempted "Part" but I am likely missing a step with the delimiters. Could somebody please help me with the formula to just remove the text detailed above?
Thank you!
"Confirmation Copy of Welcome Letter sent to" from the subject heading "Confirmation Copy of Welcome Letter sent to example@address.com"
and leaves me with only "example@address.com"
After some trial and error,
I have written the formula
Left([Subject],20)
and this will show me the first 20 characters.
Alternatively, Right([Subject],20) displays the last 20.
These steps are not ideal because I need to display the email address, which is has a varied character length.
I have attempted "Part" but I am likely missing a step with the delimiters. Could somebody please help me with the formula to just remove the text detailed above?
Thank you!