You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gary Gregory (JIRA)" <ji...@apache.org> on 2018/02/12 17:28:00 UTC

[jira] [Resolved] (TEXT-113) Add an interpolator string lookup

     [ https://issues.apache.org/jira/browse/TEXT-113?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gary Gregory resolved TEXT-113.
-------------------------------
       Resolution: Fixed
    Fix Version/s: 1.3

> Add an interpolator string lookup
> ---------------------------------
>
>                 Key: TEXT-113
>                 URL: https://issues.apache.org/jira/browse/TEXT-113
>             Project: Commons Text
>          Issue Type: New Feature
>            Reporter: Gary Gregory
>            Assignee: Gary Gregory
>            Priority: Major
>             Fix For: 1.3
>
>
> Add an interpolator string lookup.
> This will allow the syntax
> ${lookupKey:key}
> To look up a system property:
> ${sys:user.name}
> To look up an environment variable:
> ${env:USER}
> Available through {{org.apache.commons.text.lookup.StringLookupFactory#interpolatorStringLookup(\*)}}
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)