字符转换大写:

<script type="text/javascript">

    var str="Hello world!";

    document.write(str.toUpperCase());

</script>

 

字符转换小写:

<script type="text/javascript">

    var str="Hello world!";

    document.write(str.toLowCase());

</script>

相关文章:

  • 2022-03-02
  • 2022-12-23
  • 2022-01-11
  • 2021-08-04
  • 2022-12-23
  • 2021-12-08
  • 2022-12-23
猜你喜欢
  • 2021-09-24
  • 2022-12-23
  • 2022-02-04
  • 2021-11-01
  • 2021-10-08
  • 2021-10-07
  • 2021-09-19
相关资源
相似解决方案