Talk:Multisplit: Difference between revisions

(The algorithm)
Line 236:
:Yes, you would get three empty strings matching "abb" against the list "b","ab". Anyways, it's basically:
 
:<lang pseudocode>
for (i= 0; i < inputString.stringLength; i++) {
for (j= 0; j < separators.arrayLength; j++) {
Line 246:
}
whatever remains of inputString after the last separator gets included in the result
</lang> --[[User:Rdm|Rdm]] 19:57, 21 April 2011 (UTC)
</lang>
6,951

edits