HtmlExtensions.TruncateQuotesAndConvertEmojiToImage Method

Namespace:
Weavy.Core.Helpers
Assembly:
Weavy.Core.dll

TruncateQuotesAndConvertEmojiToImage(string, int)

Will truncate the content of any q-tag and also convert emoji in the quoted text to images.

public static string TruncateQuotesAndConvertEmojiToImage(this string input, int length)

Parameters

input
string

The string to truncate.

length
int

The length to truncate to.

Returns

string

A truncated result string.