by skydereign » Tue Jun 02, 2009 7:14 am
Well, you can, if it is a char* and perhaps a char array, use strlen. This will return the length, amount of characters before a null. You could, if that doesn't fit your need, write a function that checks, essentially strlen, as I am pretty sure it will work.