Calculated Field to index a String
-
29-09-2020 - |
Question
How do I get the substring ABC from following string Hello(ABC). I used right and left function with no success
Solution
In english version of SharePoint it can be done with this:
=MID("Hello(ABC)", 7, 3)
There is a nice article: http://yalla.itgroove.net/2012/09/sharepoint-calculated-column-formulas/
A dynamic version would be
=MID("Hello(ABC)", SEARCH("(","Hello(ABC)")+1, SEARCH(")","Hello(ABC)")-SEARCH("(","Hello(ABC)")-1)
Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange