今天的课程,老师主要介绍了字符串函数的相关知识。

    一、对字符串函数进行分类

    1.增加:concat

    2.删减:无

    3.更改:toUpperCase、toLowerCase

    4.查询:charAt、indexOf、lastIndexOf、charCodeAt、fromCharCode、length、substr、slice、substring、toString

 

    二、对数组函数进行分类

    1.增加:concat、push、unshift

    2.删减:pop、shift、splice

    3.查询:length、slice

    4.更改:sort、reverse

 

    三、字符串函数的具体用法

 

 

PHP课程总结20161123_字符串