On Fri, 16 Nov 2001, Ravi Ananth Giri K. wrote:
|Hope PHP questions can be posted here and won't be considered fit only for
|LIP.
They are more appropriate for LIP! :)
|How does one seperate parts of a string based on a delimiter like in
|cut -d# -fn ?
|
|right now, i'm now doing an exec("echo $string | cut -d# -f2");
EEKS!!! Highly inefficient.
use the split function.
split ($delimiter , $string) will return an array with the indivudual
strings.
Kingsly
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help