programming - C - function substrWhat links here?
Copy part of a string.Copy count characters from src, starting from start

Parameters:



Returns:

The new string

example:

char *part, *str = 'Test one, test two';
part = substr(str, 1, 5);
puts(part); // -> est o
programming - C - function substr
filename:programming - C - function substr
filename:programming%20%2D%20C%20%2D%20function%20substr
last edit:March 29 2009 21:19:02 (5806 days ago)
ct = 1740079804.000000 = February 20 2025 14:30:04
ft = 1238375942.000000 = March 29 2009 21:19:02
dt = 501703862.000000