get pipeline from string