Forum Discussion
Removing certain characters in SharePoint list
Thanks!
DevHuws Try using expression with string() function while adding data to SharePoint list:
string('your text')
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.
For SharePoint/Power Platform blogs, visit: Ganesh Sanap Blogs
- DevHuwsMar 14, 2023Copper ContributorInside of the "Create item"?
When choosing what is input into the cloumn?
It is worth noting as well that this symbol appears in the excel too. before uploading- ganeshsanapMar 14, 2023MVP
DevHuws How you are creating and populating excel file withing Power automate flow? From where this data is coming to excel file?
Maybe you can check Power automate flow and see the source of this unwanted character and remove it from there.
Or you can try using JSON column formatting like:
{ "$schema": "https://developer.microsoft.com/json-schemas/sp/v2/column-formatting.schema.json", "elmType": "div", "txtContent": "=replaceAll(@currentField, '�', '')" }Reference: SharePoint: Replace All Occurrences of Substring in a String using JSON Formatting
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.
For SharePoint/Power Platform blogs, visit: Ganesh Sanap Blogs
- ganeshsanapMar 14, 2023MVP
DevHuws Here are before / after results after using JSON column formatting:
Before:
After:
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.
For SharePoint/Power Platform blogs, visit: Ganesh Sanap Blogs
- DevHuwsMar 14, 2023Copper ContributorHow would this expression look in power automate?