Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Custom Capitalize Function

From: louisaturk::eudoramail::com at: 24-May-2002 15:31

Hi rebols, I need a function to capitalize the first character after the second space in string-b only if the first character after the second space in string a is capitalized. Example: string-a: "Chapter 1:1 Itu besar merah rumah." string-b: "Chapter 1:1 the big red house." capitalize-it string-a string-b string-b: "Chapter 1:1 The big Red house." This function is used right in the heart of a script that processes a rather massive document, so speed is essential. Any ideas for a fast, elegant function? Louis