将字符串第一个字符转换为大写

private static String getMethodName(String fieldName) {
return "get" + fieldName.substring(0, 1).toUpperCase()
+ fieldName.substring(1);
}

 

EXEC dbo.success '坚持','细心','计划'
原文地址:https://www.cnblogs.com/weeky/p/2914018.html