can any body help me!!!!

can any body help me!!!!

by ahmed ali -
Number of replies: 2

In Vbscript function left is return a specified number of characters from the left side of a string. 
for example
dim txt
txt="This is a beautiful day!"
document.write(Left(txt,11))

I want a way, so that it return a string without cut from the last word
with use the same lenght in the function ((( 11 )))
please i want a quick help >>> fast as possible
thanks alot
ama
Average of ratings: -
In reply to ahmed ali

Re: can any body help me!!!!

by Martin Dougiamas -
Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers
This is not a vbscript help forum ... there are other places on the internet for that.  This is a Moodle help forum.