Namespace:  NHibernate.Util
Assembly:  NHibernate (in NHibernate.dll)

Syntax

Visual Basic (Declaration)
Public Shared Function ReplaceOnce ( _
	template As String, _
	placeholder As String, _
	replacement As String _
) As String
C#
public static string ReplaceOnce(
	string template,
	string placeholder,
	string replacement
)
Visual C++
public:
static String^ ReplaceOnce(
	String^ template, 
	String^ placeholder, 
	String^ replacement
)
JavaScript
NHibernate.Util.StringHelper.replaceOnce = function(template, placeholder, replacement);

Parameters

template
Type: System..::.String
placeholder
Type: System..::.String
replacement
Type: System..::.String

Return Value

See Also