Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Splitting a filename string 2

Status
Not open for further replies.

MikeDee

Programmer
Aug 2, 2001
19
0
0
GB
Hi everybody,

I'm have a filename string (eg. under vpath is something like

threadminder.cfm?SPID=333&CFID=21258514&CFTOKEN=70628041.html )

and Im trying split the string up so that the first 20 characters shows on one line and the next 20 lines a separate line benaeth the first line. like:-

threadminder.cfm?SPID=333&CFID
=21258514&CFTOKEN=70628041.html

Below is the little bit Im trying to split.


<a href=&quot;<%=RS(&quot;vpath&quot;)%>&quot; class=&quot;bodytext&quot; >
 
this should work

Code:
<a href=&quot;<%=RS(&quot;vpath&quot;)%>&quot; class=&quot;bodytext&quot; >[URL unfurl="true"]http://<;%=Request(&quot;server_name&quot;)%><%=Left(RS(&quot;vpath&quot;),20)%><br><%=Right(RS(&quot;vpath&quot;),len(RS(&quot;vpath&quot;))-20)%></a>[/URL]
________
George, M
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top