Extract from string to string
#3

Quote:
Originally Posted by Abagail
Посмотреть сообщение
It sounds like what you are doing could be done with integers, what are you trying to do?
Here is my code:
Код:
new komch[126];
    for(new b = 1; b < 50; b++) {
        printf("Number: %d",b);
    	if(strcmp(cmdtext, " ", true, b)) {
    	    print("debugradi");
    		strmid(komch, cmdtext, 0, b);
		}
    }
im doing this for mysql system for commands permission so i cant check for commad if he type /veh 522 so i ned to extract just /veh
Reply


Messages In This Thread
Extract from string to string - by Dusan01 - 31.10.2015, 16:43
Re: Extract from string to string - by Abagail - 31.10.2015, 16:51
Re: Extract from string to string - by Dusan01 - 31.10.2015, 16:54
Re: Extract from string to string - by ThePhenix - 31.10.2015, 16:59
Re: Extract from string to string - by Dusan01 - 31.10.2015, 17:06

Forum Jump:


Users browsing this thread: 1 Guest(s)