logo
  • 教程列表
  • SO官方文档
  • 字符串操作函数
    • 将字符串转换为大写
    • 计算字符串的哈希值
    • 字符串连接
    • 字符串文本替换
    • 将字符串转换为小写
    • 子字符串提取
  1. StackOverflow 文档
  2. awk 教程
  3. 字符串操作函数
  4. 将字符串转换为大写

将字符串转换为大写

Created: November-22, 2018

函数 toupper 将字符串转换为大写字母(大写字母)。例如:

BEGIN {
    greeting = "hello"
    loud_greeting = toupper(greeting)
    print loud_greeting
}

此代码在运行时将输出 HELLO。

  • 计算字符串的哈希值
  • 字符串操作函数

Copyright © 2018. All right reserved

tastones.com 备案号:鲁ICP备18045372号-1

  • 关于我们
  • 免责声明