TweetExtensions.ExtractTokens Method

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

ExtractTokens(string, bool)

Extract urls, #hashtags, @mentions and $cashtags from the provided text.

public static List<Token> ExtractTokens(this string text, bool quoted = false)

Parameters

text
string

text from which to extract tokens

quoted
bool

true to extract tokens from “quoted” text, otherwise false

Returns

System.Collections.Generic.List

A list of tokens