hai

   i want to extract substring from a string. if i am using StrStr function. 

Char* str.str1;
Char c;
str="xxxxxxxxx/yyyyyyyy"
for(str1=str,c=*str;(c&&c!="/");) 
c=*str1++;
*****************
here i got the problem, showing Junk value , no error
message(||)***************
*(str1--)=NULL;
************************************************

i want extraxt before "/" . 

first i has find position of "/", after that i before "/" NULL will be
assigned.

please tell me where i went to wrong.

bye

Murthy





____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1

--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to