(在R中)如何在像"WeLiveInCA“这样的字符串中按标题大小写将单词拆分为"We string in CA”而不拆分缩写?我知道如何在每个大写字母处拆分字符串,但这样做会拆分缩写/缩写,比如CA或USSR,甚至U.S.A.,我需要保留这些缩写。then split the word with a space where a lo
我正在尝试创建一个对话框窗口,在该窗口中,我需要一个人名,其格式为: Lastname,Surnameimport javax.swing.*;
public static void main(String[] arg) {
String a = JOptionPane.showInputDialog(null, "Write y