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

Gary Gregory updated TEXT-113:
------------------------------
    Description: 
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(*)}}

 

  was:
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(\*)}}

 


> 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
>
> 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)

Reply via email to