Question

How do I get the substring ABC from following string Hello(ABC). I used right and left function with no success

Was it helpful?

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
scroll top