Forum Discussion
JSON column formatting extract first and last name from @me
This is the best I can find to extract first and last name, hopefully all email addresses have the same convention.
https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/formatting-syntax-reference
replace(substring(@me, 0, indexOf(@me, '@')), '.', ' ')
- ganeshsanapJul 17, 2023MVP
DoraL420 Currently, there is no default operator/function available in SharePoint JSON formatting to auto-capitalize first letter in the word.
SharePoint JSON formatting currently only supports toLowerCase() and toUpperCase() to convert string into all lower case and upper case. Also, these operators/functions are only supported in SharePoint Online and not in SharePoint 2019.
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.