[This is preliminary documentation and is subject to change.]

Ensures the target string ends with the specified string.

Namespace:  Facebook.Json.Utilities
Assembly:  Facebook (in Facebook.dll) Version: 0.2009.3.23 (0.2009.3.23)

Syntax

C#
public static string EnsureEndsWith(
	string target,
	string value
)
Visual Basic (Declaration)
Public Shared Function EnsureEndsWith ( _
	target As String, _
	value As String _
) As String
Visual C++
public:
static String^ EnsureEndsWith(
	String^ target, 
	String^ value
)

Parameters

target
Type: System..::.String
The target.
value
Type: System..::.String
The value.

Return Value

The target string with the value string at the end.

See Also

StringUtils Class
Facebook.Json.Utilities Namespace