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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

cutting the last word...

Status
Not open for further replies.

jstar7

Programmer
Dec 17, 2002
61
GB
hey guys,

i have an object - objNode. The text for it is four words...kinda like -
Jonny jstar7@jstar7.com jstar7 porche
So what I need to do is to extract the last word and use it.
I know its some kind of Trim thing but I dont know what.

Thanks in advance for any help....cheers!
Jonny

-------------------------------------------------
Take a break....have a doodle!!
 
ok, try this:
<%
txt=&quot;1 2 3 4 5&quot;
txt=split(txt,&quot; &quot;)
response.write txt(ubount(txt)-1)
%>

Known is handfull, Unknown is worldfull
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top