=0AHello ,=0A =0APut the strings of word in array of pointers. char *str[i=
] . Then compare the first the characters from str with "t". if it matches =
print it or else neglect it.=0A=0Aregards=0APeeyush B.=0A=0A=0AOn Wed, 18 J=
ul 2007 Lloyd wrote :=0A>Hi,=0A> I have an array of strings. I want to se=
arch in the array for a=0A>particular pattern. As an example let the conten=
t in the array be=0A>=0A>this=0A>thi=0A>this is=0A>hello=0A>t=0A>text=0A>hi=
=0A>=0A>If I give a search term like "t*" (something like regular expressio=
n) it=0A>must return=0A>=0A>this=0A>thi=0A>this is=0A>t=0A>text=0A>=0A>=0A>=
How can I accomplish this?=0A>=0A>Thanks and Regards,=0A> Lloyd=0A>=0A>=0A=
>______________________________________=0A>Scanned and protected by Email s=
canner=0A>=0A>-------------------------------------------------------------=
------------=0A>This SF.net email is sponsored by DB2 Express=0A>Download D=
B2 Express C - the FREE version of DB2 express and take=0A>control of your =
XML. No limits. Just data. Click to get it now.=0A>http://sourceforge.net/p=
owerbar/db2/=0A>_______________________________________________=0A>Dev-cpp-=
users mailing list=0A>Dev...@li...=0A>TO UNSUBSCRIBE=
: http://www23.brinkster.com/noicys/devcpp/ub.htm=0A>https://lists.sourcefo=
rge.net/lists/listinfo/dev-cpp-users=0A=0A=0AWith Best Regards=0D=0A-------=
---------------------------------------------=0D=0APeeyush Bishnoi =
=0D=0AC-DAC,Knowledge Park,=0D=0A#1,Old Madras Road, =0D=0ABa=
ngalore,India.=0D=0AE-mail:pee...@cd...=0D=0A www.cdac.in=
=0D=0APh. - (080) 25341909/874 ext.- 420=0D=0Acell- +91-9449673095=0D=0A---=
------------------------------------------------- |