Hello R-help list, I am looking for way to toggle the case of the characters like a flip-flop; that is from ''Hello'' to "hELLO" or vice versa. I know that there are a number of functions like casefold, tolower, toupper, etc. but these functions change the case in an uniform way. Thanks in advance, Antonio Rivero Ostoic Antonio Rivero Ostoic PhD Student, Department of Leadership and Strategy From 1 Jul until 31 Dec 2011 Tel. +61 3 8344 4300 Fax +61 3 9347 6618 Email j...@sdu.dk Addr. The University of Melbourne, Victoria 3010 Australia ------------------------------------------------------------- UNIVERSITY OF SOUTHERN DENMARK Sdr. Stationsvej 28 · DK-4200 Slagelse · Denmark · Tel. +45 6550 1000 · www.sdu.dk
[[alternative HTML version deleted]]
______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.