Formula Library

Excel Formula To Remove Suffix -Draft From Text In Webhook Payload Text

Remove suffix -DRAFT from text in webhook payload text with a ready-to-use formula for Excel, Google Sheets, and WPS.

Quick answer

Remove suffix -DRAFT from text in webhook payload text.

Unified formula

ExcelGoogle SheetsWPS
=IF(RIGHT(A2, LEN("-DRAFT"))="-DRAFT", LEFT(A2, LEN(A2)-LEN("-DRAFT")), A2)

How it works

Need a custom version?

Related formulas