Returns a formatted String if a format is given, otherwise it returns the unchanged value.
Namespace: DotNetNuke.Services.TokensAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
| C# |
|---|
public static string FormatString( string value, string format ) |
| Visual Basic |
|---|
Public Shared Function FormatString ( value As String, format As String ) As String |
Parameters
- value
- Type: System..::..String
string to be formatted
- format
- Type: System..::..String
format specification