主题:  关于last()

5D荣誉斑竹

职务:普通成员
等级:4
金币:10.0
发贴:1537
注册:2001/8/23 5:26:46
#12001/11/30 17:24:19
在8.0和8.5里都有这一个例子
Example

This statement identifies the last word of the string "Macromedia, the multimedia company" and displays the result in the Message window:

put the last char of "Macromedia, the multimedia company" "
The result is the word company.

但是我在Message窗口运行不对,另外我也觉得这个例子有问题,那么怎样能得到company呢?



threem

职务:普通成员
等级:2
金币:1.0
发贴:338
注册:2001/6/14 13:52:15
#22001/11/30 20:05:56
char 该word!



5D荣誉斑竹

职务:普通成员
等级:4
金币:10.0
发贴:1537
注册:2001/8/23 5:26:46
#32001/11/30 20:16:00
顿悟,原来这么简单。MM居然没有发现他们在HELP文件里的这个错误。