For Babelfish Release 1.11.1.3

StringInterpolation Class

Definition

Namespace: Scopos.BabelFish.Helpers.Extensions
Assembly: BabelFish (in BabelFish.dll) Version: 1.11.1.4+b1da393815f6638555a663d9a94167ecabea5695
C#
public static class StringInterpolation
Inheritance
Object    StringInterpolation

Methods

ExtractFieldValue Inputs a string such as "{XXXX}" and returns the portion of the string that's inside the curly brackets. Wich in this example would be "XXXX". If the input string does not start and end with curly brackets then an empty string is returned.
Replace Performs string interpolation using a dictionary for the source of the values.

See Also