BEGINS

Determines if text begins with specific characters and returns TRUE if it does. Returns FALSE if it doesn't.

Use

BEGINS(text, compare_text) and replace text, compare_text with the characters or fields you want to compare.

Tips

  • This function is case-sensitive so be sure your compare_text value has the correct capitalization.
  • When using this function in a validation rule or workflow rule, fields that are blank are considered valid. For example, if you have a validation rule that tests to see if the serial number of an asset begins with “3,” all assets that have a blank serial number are considered valid.
Generic Example
Generic Example

IF(BEGINS (Product_type__c, "ICU"), "Medical", "Technical")

This example returns the text Medical if the text in any Product Type custom text field begins with ICU. For all other products, it displays Technical.