Code
if (textBox1.Text.Contains("Troll"))
{
//Do Something
}|
C#
If textbox has a word then this happens |
(Nov 22, 2014 08:20 PM)Aristocles Wrote: If TextBox1.Text.Contains("Troll") Then This is in the C# section, not the VB section. Also format your code with the [code] tags :) (Nov 22, 2014 08:22 PM)Jack_Soff Wrote: Fuck i tried that but had it setup wrong thats why it wasnt working, thanks so much No problem, have a nice night! 😁 (Dec 6, 2014 10:16 AM)Astek Wrote: that would be used to code multiple commands onto one function, yes? "You just dun goofed" 😏😏 |
|
|
| Possibly Related Threads... | |||
| Thread / Author | Replies | Views | Last Post |
| [.NET] by Moon RockJul 22, 2016 07:53 AM | 2 | 218 |
Jul 22, 2016 07:53 AM Last Post: Moon Rock |
| [.NET] by ShadyShadowApr 26, 2014 06:30 PM | 9 | 240 |
Apr 26, 2014 06:30 PM Last Post: 0xDEAD10CC |
| [C] by monkey2008Oct 15, 2013 09:02 AM | 4 | 115 |
Oct 15, 2013 09:02 AM Last Post: pratap95 |