Description: Value of the subword extractor as function with domain. (Contributed by Alexander van der Vekens, 28-Mar-2018) (Proof shortened by AV, 2-May-2020)