2
如何大写字符串在流氓软件中?大写字母在流氓软件中
在字符串库的文档中,我找不到任何方法来大写字符串。
http://tutor.rascal-mpl.org/Rascal/Rascal.html#/Rascal/Expressions/Values/String/String.html
如何大写字符串在流氓软件中?大写字母在流氓软件中
在字符串库的文档中,我找不到任何方法来大写字符串。
http://tutor.rascal-mpl.org/Rascal/Rascal.html#/Rascal/Expressions/Values/String/String.html
您应该使用在String
库toUpperCase
功能,这里详细:
例如:
rascal>import String;
ok
rascal>toUpperCase("hEllO WOrlD");
str: "HELLO WORLD"
为什么我没有看到的是,由于 – Jaap