arachnode.net

UserDefinedFunctions.ExtractFileExtension Method

Extracts the file extension from an AbsoluteUri. e.g. http://arachnode.net/sitefiles/1000/logo.gif -> .gif

[SqlFunction(IsDeterministic=False, DataAccess=DataAccessKind.None, SystemDataAccess=SystemDataAccessKind.None, IsPrecise=False, Name="null", TableDefinition="null", FillRowMethodName="null")]
public static SqlString ExtractFileExtension(
   SqlString absoluteUri
);

Parameters

absoluteUri
The absolute URI.

Return Value

See Also

UserDefinedFunctions Class | (global) Namespace