Skip to content

Commit

Permalink
Change for String Operation (INITCAP) to also convert the rest of each
Browse files Browse the repository at this point in the history
word to lower case apache#3538
  • Loading branch information
nadment committed Feb 1, 2024
1 parent a46bafb commit 0c15cf0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ public static String initCap(IValueMeta metaA, Object dataA) {
if (dataA == null) {
return null;
}
return WordUtils.capitalize(dataA.toString(), new char[] {' ', '_', ',', ':', ';', '-'});
return WordUtils.capitalizeFully(dataA.toString(), new char[] {' ', '_', ',', ':', ';', '-'});
}

public static String upperCase(IValueMeta metaA, Object dataA) {
Expand Down

0 comments on commit 0c15cf0

Please sign in to comment.