Apex Use Case 13 | Chapter 72 | Salesforce Developer Masterclass

Поділитися
Вставка
  • Опубліковано 2 лис 2024

КОМЕНТАРІ • 8

  • @naresfdc
    @naresfdc 2 місяці тому +1

    Thank you so much please upload flow related scenarios

    • @salesforcemakessense
      @salesforcemakessense  2 місяці тому

      @@naresfdc sorry didnt get you, flow related scenarios in apex?

  • @sumitB-h8t
    @sumitB-h8t 2 місяці тому +1

    Welcome back sir hope you are fine 🙂

  • @rishabhgupta7636
    @rishabhgupta7636 2 місяці тому +1

    Fantastic Content! Your explanations are so clear and easy to understand. Thank you for sharing such valuable SF content. Do we have Asyn Apex in this masterclass in coming videos?

  • @virajmhaiskar
    @virajmhaiskar 2 місяці тому +1

    public static String useCase13(String emailAddress) {
    String fullName = '';

    String extractedName = emailAddress.substringBefore('@');
    String firstName = extractedName.substringBefore('_');
    String LastName = extractedName.substringAfter('_');

    fullName = firstName + ' ' + lastName;

    return fullName;
    } I have done it like this.

    • @salesforcemakessense
      @salesforcemakessense  2 місяці тому

      Looks good, you used two different string functions which is also feasible if data is consistent.