Table of Contents

Class StringExtensions

Namespace
Examine
Assembly
Examine.Lucene.dll

String extensions

public static class StringExtensions
Inheritance
StringExtensions
Inherited Members

Methods

GenerateHash(string)

Generates a hash of a string based on the FIPS compliance setting.

public static string GenerateHash(this string str)

Parameters

str string

Returns

string

GenerateMd5(string)

Generate a MD5 hash of a string

public static string GenerateMd5(this string str)

Parameters

str string

Returns

string

GenerateSha1Hash(string)

Generate a SHA1 hash of a string

public static string GenerateSha1Hash(this string str)

Parameters

str string

Returns

string

RemoveStopWords(string)

Removes stop words from the text if not contained within a phrase

public static string RemoveStopWords(this string searchText)

Parameters

searchText string

Returns

string