Index: trunk/extensions/ParserFunctions/ParserFunctions.php |
— | — | @@ -617,7 +617,7 @@ |
618 | 618 | /** |
619 | 619 | * {{#pos: string | needle | offset}} |
620 | 620 | * |
621 | | - * Finds first occurence of "needle" in "string" starting at "offset". |
| 621 | + * Finds first occurrence of "needle" in "string" starting at "offset". |
622 | 622 | * |
623 | 623 | * Note: If the needle is an empty string, single space is used instead. |
624 | 624 | * Note: If the needle is not found, -1 is returned. |
— | — | @@ -646,7 +646,7 @@ |
647 | 647 | /** |
648 | 648 | * {{#rpos: string | needle}} |
649 | 649 | * |
650 | | - * Finds last occurence of "needle" in "string". |
| 650 | + * Finds last occurrence of "needle" in "string". |
651 | 651 | * |
652 | 652 | * Note: If the needle is an empty string, single space is used instead. |
653 | 653 | * Note: If the needle is not found, -1 is returned. |
— | — | @@ -707,7 +707,7 @@ |
708 | 708 | /** |
709 | 709 | * {{#count: string | substr }} |
710 | 710 | * |
711 | | - * Returns number of occurences of "substr" in "string". |
| 711 | + * Returns number of occurrences of "substr" in "string". |
712 | 712 | * |
713 | 713 | * Note: If "substr" is empty, a single space is used. |
714 | 714 | */ |
— | — | @@ -734,7 +734,7 @@ |
735 | 735 | /** |
736 | 736 | * {{#replace:string | from | to | limit }} |
737 | 737 | * |
738 | | - * Replaces each occurence of "from" in "string" with "to". |
| 738 | + * Replaces each occurrence of "from" in "string" with "to". |
739 | 739 | * At most "limit" replacements are performed. |
740 | 740 | * |
741 | 741 | * Note: Armored against replacements that would generate huge strings. |
— | — | @@ -791,7 +791,7 @@ |
792 | 792 | /** |
793 | 793 | * {{#explode:string | delimiter | position}} |
794 | 794 | * |
795 | | - * Breaks "string" into chunks seperated by "delimiter" and returns the |
| 795 | + * Breaks "string" into chunks separated by "delimiter" and returns the |
796 | 796 | * chunk identified by "position". |
797 | 797 | * |
798 | 798 | * Note: Negative position can be used to specify tokens from the end. |