This formula uses scope powerapps. Mid – Returns the middle portion of a string.