awk String manipulation functions Converting string to upper case

Help us to keep this website almost Ad Free! It takes only 10 seconds of your time:
> Step 1: Go view our video on YouTube: EF Core Bulk Extensions
> Step 2: And Like the video. BONUS: You can also share it!

Example

The function toupper will convert a string to upper case (capital letters). For example:

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

This code will output "HELLO" when run.



Got any awk Question?