“string huruf besar” Kode Jawaban

Touppercase

const names = ['Ali', 'Atta', 'Alex', 'John'];

const uppercased = names.map(name => name.toUpperCase());

console.log(uppercased);

// ['ALI', 'ATTA', 'ALEX', 'JOHN']
Gifted Goose

string huruf besar


let txt = "Hello World!";
txt = txt.toUpperCase();
MD RAZZAK

Konversi string ke huruf besar

function changeToUpperCase(founder) {
  return founder.toUpperCase();
}

// calling the function 
const result = changeToUpperCase("Quincy Larson");

// printing the result to the console
console.log(result);

// Output: QUINCY LARSON
Mehedi Islam Ripon

Tupper string

string a = "String";
string b = a.Replace("i", "o"); // Strong
       b = a.Insert(0, "My ");  // My String
       b = a.Remove(0, 3);      // ing
       b = a.Substring(0, 3);   // Str
       b = a.ToUpper();         // STRING
int    i = a.Length;            // 6
PrashantUnity

huruf besar

/[A-Z]/  : 'must contain one uppercase'

/([a-z])/  : 'must contain one lowercase'

/(\d)/  : 'must contain one number'

/(\W)/  : 'must contain one special character'
Didi Abel

Huruf besar

public class Test {

   public static void main(String args[]) {
      System.out.println(Character.isUpperCase('c'));
      System.out.println(Character.isUpperCase('C'));
      System.out.println(Character.isUpperCase('\n'));
      System.out.println(Character.isUpperCase('\t'));
   }
}
Dull Dog

Jawaban yang mirip dengan “string huruf besar”

Pertanyaan yang mirip dengan “string huruf besar”

Lebih banyak jawaban terkait untuk “string huruf besar” di JavaScript

Jelajahi jawaban kode populer menurut bahasa

Jelajahi bahasa kode lainnya