split the string using ' space ' and print the first character of every word
String words [ ] = name . split ( " ▁ " ) ; for ( String word : words ) { System . out . print ( Character . toUpperCase ( word . charAt ( 0 ) ) + " ▁ " ) ; } }