“Huruf besar” Kode Jawaban

string huruf besar


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

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 kapital

using System;
public class Demo {
   public static void Main(){
      bool res;
      char val = 'H';
      Console.WriteLine("Value = "+val);
      res = Char.IsUpper(val);
      Console.WriteLine("Is the value an uppercae letter? = "+res);
   }
}
PrashantUnity

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 “Huruf besar”

Jelajahi jawaban kode populer menurut bahasa

Jelajahi bahasa kode lainnya