0 Replies Latest reply on Dec 17, 2010 11:13 AM by WordRad

    str.replace(regex,func): Is func guaranteed to be called from left to right in str?

    WordRad Level 1

      Suppose the global pattern regex is found in str at indexes 14, 82, 113, and 129.

      Could invocation 1 through 4 sequentially of func correlate to (say) 113, 82, 129, 14, or would it always be in order from left to right.