Board index » delphi » Delphi searching first characters of string
hae...@optushome.com.au (Staunch)
![]() Delphi Developer |
Mon, 15 Nov 2004 09:41:07 GMT
Delphi searching first characters of string
I was wondering if there is any way to know what the first 4
characters are in a string. What I am creating is a text-based network game and text is sent between the server/client. If the client receives text that says User they'll respond with user*** where *** is the username. I want to know if they've sent text starting with user. Here's my code. procedure TfrmAdminGemstone.ssockServerClientRead(Sender: TObject; When I use an asterisk it doesn't use it as a wildcard, I want to know Best Regards, |