1、split('') 把一个字符串分割成字符串数组 把数据拆分为一个数组,括号里的' '是把数据拆分为每个字符串 2、reverse() 颠倒数组中元素的顺序 只作用于数组,跟在split('')后才能起作用,在一个字符串后面不起作用,如message.reverse() 3、join('') 把数组中的所有元素放入一个字符串 所以,message.split('').reverse().join('') 意思是把字符串翻转重组成字符串 hello→olleh 本栏目推荐文章YARP(Yet Another Reverse Proxy)Yarp是什么?函数的参数类型【C语言】函数的递归调用SQL Join的一些总结NUS CS1101S:SICP JavaScript 描述:一、使用函数构建抽象asp.net mvc4 controller构造函数函数返回值10-函数进阶-作用域11-函数进阶-参数类型9-函数基础函数 message reverse split join函数message reverse split 分隔符split空格 函数 train_test_split函数 笔记train train_test_split random_state函数sklearn 函数split pipe row 函数python split path 函数messager消息easyui 函数split java 函数reverse python 函数reversed sorted