Code: Select all
put "good morning" into fld 1
get matchChunk(fld 1, "(mor)", temp_start, temp_end)
put the htmlText of fld 1 into htmltemp
get matchChunk(htmltemp, "(mor)", temp_start, temp_end)
Code: Select all
<p>good morning</p>
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Code: Select all
put "good morning" into fld 1
get matchChunk(fld 1, "(mor)", temp_start, temp_end)
put the htmlText of fld 1 into htmltemp
get matchChunk(htmltemp, "(mor)", temp_start, temp_end)
Code: Select all
<p>good morning</p>
My guess would be because there is no <p> in htmlTemp.put the htmlText of fld 1 into htmltemp
Code: Select all
put char 1 of htmltemp
Code: Select all
<
Didn't you mean:get matchChunk(fld 1, "(mor)", temp_start, temp_end)
Code: Select all
get matchChunk(fld 1, "mor", temp_start, temp_end)
Code: Select all
get matchChunk("hello", "e", temp_start, temp_end); put temp_start
Code: Select all
get matchChunk("hello", "(e)", temp_start, temp_end); put temp_start