In working on my Symposium presentation on the new stuff in 4.0.0, I came across the examples of the new Translate parameters - pos, length. At first, I thought this one - TRANSLATE("abcdef", , , , 2, 3) -> "ABCDEF" - must be wrong as I expected the result to be "aBCDef" but then realised that since both tables and pad were omitted, the default "uppercasing" was done and the pos, length parameters were ignored. OK, a bit surprising but so far, so good. Then I got to the second example of the new parameters - TRANSLATE("4123", "abcd", "1234", , 2, 2) -> "1ab4" - and I'm really confused. Why isn't the result "4ab3", i.e. only the second and third characters are translated? -- Gil Barmwater
------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ Oorexx-devel mailing list Oorexx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oorexx-devel