<?php
$first = "abc";
$second = "aBc";
if(strcmp($first, $second) == )//字串比较
{
print("字符串相等:"."<hr>");
}
else
{
print("字符串不相等"."<hr>");
} print("abcde我是中国人: ".strlen("abcde我是中国人")."<hr>");//字串长度 $text = "hello world";
print(strpos($text, "w")."<hr>");//寻找字串中某字元最先出现处
?>

最新文章

  1. [bigdata] flume file channel CPU消耗比 memory channel高的原因
  2. [LeetCode] 8. String to Integer (atoi)
  3. 【BZOJ 4569】【SCOI 2016】萌萌哒
  4. CH Round #55 - Streaming #6 (NOIP模拟赛day2)解题报告
  5. Ubuntu Gnome16.04下安装cuda、theano和opencv
  6. jsp_注释
  7. Front-end Developer Interview Questions
  8. Valid Palindrome
  9. WebService 学习总结
  10. sql if
  11. python3.4.2 安装Pillow
  12. JavaScript 显示弹出窗口
  13. Unity 安卓下DLL热更新一(核心思想)
  14. [bzoj3196][Tyvj 1730][二逼平衡树] (线段树套treap)
  15. 脚本div实现拖放功能
  16. Mysql 的 create as 和create like 区别
  17. MySQL--MHA原理
  18. Go指针相关
  19. 可遇不可求的Question之skip-name-resolve模式篇
  20. mysql str_to_date 字符串 转日期时间

热门文章

  1. 「CSP-S模拟赛」2019第四场
  2. 初识IntPtr------转载
  3. thinkphp5 + vue nginx配置
  4. 移动端触摸touchstart监听事件
  5. Spring JMSTemplate 与 JMS 原生API比较
  6. spark动态资源(executor)分配
  7. 创建Git本地仓库
  8. memcached 和 redis 性能测试比对
  9. leetcode743 Network Delay Time
  10. 关于Essay写作的Tips及整体讲解