ada的博客 – 点滴分享,用心品味生活

喜欢产品设计,移动开发,捣鼓网站相关东东
  • 首页
  • Linode最新优惠码
  • whois查询
  • 关于我

存档

文章标签 ‘char’

php 类似charat函数,获取string中的字符

2011 年 6 月 13 日 mood 没有评论

$char = $string{$position}; // where $position is the position of the character you are looking for

$string = "testing";
echo 
$string{2}; // prints 's' 

分类: PHP 标签: char, charat
订阅
  • Google
  • 有道
  • 鲜果
  • 抓虾
  • 豆瓣九点
  • QQ 邮箱
  • My Yahoo!
  • newsgator
  • Bloglines
  • 哪吒

Random Posts

  • visual stdio 中的_tmain是什么?
  • shell结果以百分号显示
  • android 软键盘回车键捕获
  • PHP获取操作系统和浏览器信息
  • 如何让自己的不再浮躁

Tag Cloud

1px android ascii canonical centos char charat cookie discuz ecshop getYear gzip here here文档 ipv6 java jquery json linode listview main package PHP phpmyadmin ps seohead session strtotime tuxedo unicode unix时间戳 utf-8 乱码 出血 动态链接 动态链接库 卸载 口才 域名 怀孕 怀孕感冒 时区 显示 架构 软键盘

Categories

  • 杂谈
  • 网站
  • 编程
  • 数据库
  • andoird

链接表

  • 全查工具箱

分类目录

  • 杂谈
  • 网站
  • 编程
    • PHP
    • c++
    • java
    • python
  • 数据库
    • mysql
    • oracle
  • andoird
回到顶部 WordPress
版权所有 © 2009-2012 ada的博客 – 点滴分享,用心品味生活
主题由 NeoEase 提供, 通过 XHTML 1.1 和 CSS 3 验证.