Adding to anti-the

Adding to anti-the

nikehairnikehair Posts: 3Questions: 0Answers: 0
edited July 2011 in Plug-ins
I was wondering if it's possible to add extra parameters to the anti-the plug-in so that it also omits words such as "A." Is this possible, or would it need to be done separately? I don't believe it's possible to apply two sType's to one column.

Thanks!

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,470 Site admin
    Correct, you can't have two sTypes, but you can modify the sorting functions to your hearts content - including stripping prefixed "A"s etc.

    Allan
  • nikehairnikehair Posts: 3Questions: 0Answers: 0
    It doesn't seem possible to have more than one regex string to replace. Do you know of any easy workarounds?
  • allanallan Posts: 63,498Questions: 1Answers: 10,470 Site admin
    I'm not quite sure what you mean I'm afraid. Can't you do something like str.replace(/1/, 'a').replace(/2/, 'b'); ?

    Allan
This discussion has been closed.