Extractor.ExtractReplyTo Method

Namespace:
Weavy.Core.TwitterText
Assembly:
Weavy.Core.dll

ExtractReplyTo(String)

Extract a @username reference from the beginning of Tweet text. A reply is an occurance of @username at the beginning of a Tweet, preceded by 0 or more spaces.

public string ExtractReplyTo(string text)

Parameters

text
System.String

Returns

System.String

username referenced, if any (without the leading @ sign). Returns null if this is not a reply.