Tech Off Post

Single Post Permalink

View Thread: Best way to find a "string"
  • User profile image
    Cybermagell​an

    Continuing on with my app...

    I'm loading the tweets I get into RichTextBox's (because it provides detectURL), and I'm looking at now trying to detect for replies (@'s)...I had thought about using a few different methods to find these and just asking for some opinions....

    Regex? Trim? Split? (I know in PHP you could explode)....suggestions?