|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
Hi
Is it possible to extract the first paragraph in a mysql text field? my code line to display all text: <%=replace(Recordset.Fields.Item("article").Value, vbcrlf, "<p>")%> I want to separate the 1st paragraph (article lead) from the others (article), without having one table for 1st paragraph and a second one for the rest of the text. Thanks |
|
#2
|
|||
|
|||
|
use the Left and Instr function and take up to the first paragraph which i'm guessing is until the first enter (vbCrLf).
__________________
Programmer's Corner |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ASP Programming > Extracting the first paragraph in mysql text field |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|