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

  • 關於本站
  • 免責聲明