[thelist] CF Question: Permutation of right(string, count)

Madhu Menon madhum at trisoft.net
Wed Jan 10 09:06:30 CST 2001

>1) split the string into an array, using the comma as the delimiter, then
>grab the last item in the array

Damn, sgd beat me to it. :)

Oh well, here's the ASP code anyway (a bit pointless now, I know)

strFoo = "The dog,jumped,all over the place"

arrSubstring = Split(strFoo,",")
strFinalWord = arrSubstring(UBound(arrSubstring))


<<<   *   >>>
Madhu Menon
Head - User Experience Group
Trisoft Systems Pvt. Ltd.  
Global Software Services

Work: http://www.trisoft.net
Personal: http://madman.weblogs.com 

The contents of this E-mail (including the contents of the enclosure/(s) or
attachment/(s) if any) are privileged and confidential material of Trisoft
Systems Private Limited and should not be disclosed to, used by or copied in
any manner by anyone other than the intended addressee/(s). If this E-mail
(including the enclosure/(s) or attachment/(s)if any ) has been received in
error, please advise the sender immediately and delete it from your system.
The views expressed in this E-mail message (including the enclosure/(s)or
attachment/(s) if any) are those of the individual sender, except where the
sender expressly, and with authority, states them to be the views of Trisoft
Systems Private Limited.

More information about the thelist mailing list