Hi,
I'm fairly new to C, but I need to program a barcode scanner.
I need a function that allows me to substract a small string from a larger string, but I want to be able to give the starting and end position.
For example:
String= "abcdefgh"
I want to able to get all the letters from position 2 to 5 in the string, for example, so it will give me "bcde".
Is this possible, because I can't find a standard function in C that will allow me to do this.
Thanks in advance for your reply!
Cheers
Steve
I'm fairly new to C, but I need to program a barcode scanner.
I need a function that allows me to substract a small string from a larger string, but I want to be able to give the starting and end position.
For example:
String= "abcdefgh"
I want to able to get all the letters from position 2 to 5 in the string, for example, so it will give me "bcde".
Is this possible, because I can't find a standard function in C that will allow me to do this.
Thanks in advance for your reply!
Cheers
Steve