Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

StringUtils.SetAntExpression Method

Replaces Ant-style expression placeholder with expression value.

[Visual Basic]
Public Shared Sub SetAntExpression( _
   ByVal text As String, _
   ByVal expression As String, _
   ByVal expValue As Object _
)
[C#]
public static string SetAntExpression(
   string text,
   string expression,
   object expValue
);

Parameters

text
The string to set the value in.
expression
The name of the expression to set.
expValue
The expression value.

Return Value

A new string with the expression value set; the Empty value if the supplied text is a null reference (Nothing in Visual Basic), has a length equal to zero (0), or is composed entirely of whitespace characters.

Remarks

See Also

StringUtils Class | Spring.Util Namespace