-
Upper and Lower Text and maybe bold ???
HI there, I’m trying to set up an essential graphic so that the name typed in always conforms to Upper and Lower first word, the Upper second and third word. like this.
Alex DINNIN (GBR) and if possible have the surname in Bold.
Is this possible with expressions.. I was going to have a guide text layer where you type the name in. I’ve been playing about with this..
n = “”;
for (i=0; i< thisComp.layer(“Alex Dinnin (GBR)”).text.sourceText.split(” “).length; i++){
n+=thisComp.layer(“Alex Dinnin (GBR)”).text.sourceText.split(” “)[i].charAt().toUpperCase() + thisComp.layer(“Alex Dinnin (GBR)”).text.sourceText.split(” “)[i].substring(1, thisComp.layer(“Alex Dinnin (GBR)”).text.sourceText.split(” “)[i].length).toLowerCase() + ” “
}
But I’m getting a bit lost.. any pointers would be greatly appreciated.
Alex DINNIN (GBR)