upper's Examples

This example explains about converting a string to upper case.

task upper << {

String expString = 'TUTORIALS point

' println "Original: " + expString println "Upper case: " + expString.toUpperCase()

}

C:\> gradle –q upper

Output Original: TUTORIALS point

Upper case: TUTORIALS POINT

gradle –q upper
output:Upper case: TUTORIALS POINT

DevOpsSchool
Typically replies within an hour

DevOpsSchool
Hi there 👋

How can I help you?
×
Chat with Us