DataStringFormat(String, String, Object, CultureInfo) Method
Converts a format string by finding the given field name and converting the value.
Namespace: Aliquo.CoreAssembly: Aliquo.Core (in Aliquo.Core.dll) Version: 5.0.9179.22651
public static string StringFormat(
string format,
string field,
Object value,
CultureInfo culture = null
)
Public Shared Function StringFormat (
format As String,
field As String,
value As Object,
Optional culture As CultureInfo = Nothing
) As String
- format String
- Format string (for example: "Name and age: {Name} - {Age:000} years").
- field String
- Name of the field.
- value Object
- Value of the field to be established.
- culture CultureInfo (Optional)
- Culture to use for the format.
StringString with the value result (for example: "Name and age: John - 045 years").