Re[2]: [PHP] removing chars from string

2005-06-27 Thread Richard Davey
Hello Stut, Monday, June 27, 2005, 4:59:17 PM, you wrote: >> 0-8 is nine characters, which is two less than eleven, IIRC S> So the length should be 9 not 8 no? Or should I go back to school? It should be 9 if you want 9 characters. Lots of PHP functions are zero-based, but the 3rd parameter to

Re[2]: [PHP] removing chars from string

2005-06-27 Thread Richard Davey
Hello Jay, Monday, June 27, 2005, 4:46:36 PM, you wrote: JB> I know that it is length, and I gave the correct length for an 11 JB> character string minus two characters. But as always, there is JB> more than one way to skin a mule. Would that be a three-legged mule? :-) (you're one short : 0,8)