Gmail First Name

Hi community,

I am new to CSS selector, I am hoping to get the last name of the receipant in Gmail when typing in shortcuts, I looked through many posts and couldn't really figure out how to do that. Can anyone help?

Thanks!

Hi Andy, welcome to the forum. :slight_smile:

Have you considered using the Gmail command-pack? For the last name, you may use this formula: {=split({gmail-name: type=single}, " ")[-1]}.

I hope that works for you.

Hi there!

Yes, it worked perfectly; thank you so much!

Have a nice day!

1 Like