need help defining a string - 10/10/05 05:19 AM
i am trying to cut of part of a string,
lets say this string is $3
and it says this.is.a.string.from.here.i.want.to.cut
i want it to to define $3 but without from.here.i.want.to.cut
here comes the tricky part though
this.is.a.string is variable and it has different lengths at all times, also here.i.want.to.cut is also variable and has an undefined lenght. so all i know is i want to keep the beginning up untill .from and i want it to cut untill the end
any suggestions?
lets say this string is $3
and it says this.is.a.string.from.here.i.want.to.cut
i want it to to define $3 but without from.here.i.want.to.cut
here comes the tricky part though
this.is.a.string is variable and it has different lengths at all times, also here.i.want.to.cut is also variable and has an undefined lenght. so all i know is i want to keep the beginning up untill .from and i want it to cut untill the end
any suggestions?