ericyuan

heredoc语法

php
$a = <<< str
    字符串
    字符串
str;

python
print("""
  字符串
  字符串
""")

字符大小写控制

php  (strtolower(str),strtoupper(str))
$a = "Hello World";
print(strtolower($a));

python  (str.lower(), str.upper())
a = "Hello World"print(a.lower())

 

分类:

技术点:

相关文章:

  • 2021-12-31
  • 2021-11-09
  • 2021-12-16
  • 2022-12-23
  • 2021-05-26
  • 2021-07-24
  • 2021-08-24
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-01-04
  • 2021-12-31
  • 2021-12-03
  • 2022-12-23
  • 2021-08-23
相关资源
相似解决方案