RE: [PHP] first three characters

2001-03-19 Thread Johnson, Kirk
substr() http://www.php.net/manual/en/function.substr.php Kirk > -Original Message- > From: Rahul Bhide [mailto:[EMAIL PROTECTED]] > Sent: Sunday, March 18, 2001 11:02 PM > To: [EMAIL PROTECTED] > Subject: [PHP] first three characters > > > Gurus, > H

RE: [PHP] first three characters

2001-03-18 Thread Ankur Verma
11:32 AM To: [EMAIL PROTECTED] Subject: [PHP] first three characters Gurus, How do I extract the first n characters out of a word . I have this- $Word = attention I want - $Word_3 = att $Word_4 = atte $Word_5 = atten this is only extracting first three/four/five characters . What is the

RE: [PHP] first three characters

2001-03-18 Thread Jack Dempsey
etc..you can use dynamic variables to extract the nth character from your word.. jack -Original Message- From: Rahul Hari Bhide [mailto:[EMAIL PROTECTED]] Sent: Monday, March 19, 2001 1:02 AM To: [EMAIL PROTECTED] Subject: [PHP] first three characters Gurus, How do I

[PHP] first three characters

2001-03-18 Thread Rahul Bhide
Gurus, How do I extract the first n characters out of a word . I have this- $Word = attention I want - $Word_3 = att $Word_4 = atte $Word_5 = atten this is only extracting first three/four/five characters . What is the right function to use here ?? thx in advance. ~Rahul -- PHP Gene