PHP课程总结20161123
今天的课程,老师主要介绍了字符串函数的相关知识。一、对字符串函数进行分类
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
三、字符串函数的具体用法
http://s3.运维网.com/wyfs02/M00/8A/9F/wKioL1g1uASTqraAAAW2tHdd0lA830.png-wh_500x0-wm_3-wmp_4-s_3074277813.png
页:
[1]