Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

split string at space C

char* string;
char* first;
char* second;

for (int i=0;i<=strlen(string);i++) {
	if (string[i] == ' ') {
		string[i] = '';
		first = string;
		second = string+i+1;
		break;
	}
}
 
PREVIOUS NEXT
Tagged: #split #string #space #C
ADD COMMENT
Topic
Name
1+1 =