/**
 * @static
 * @param {string} string - The string to process
 * @param {string} substr
 * @returns {string} return sub string, empty if not found
 * 
 * @example
 * 
 * after("abc", "a") === "bc"
 * after("abc", "x") === ""
 */
module.exports = function after(string, substr) {
    var start = string.indexOf(substr);
    if (start !== -1) {
        return string.slice(start + substr.length);
    }
    return '';
};

@@ -1,12 +1,81 @@
 /**%0A
+ * Gets the substring after the first occurrence of a separator.%0A * %0A
  * @stat
@@ -109,13 +109,13 @@
 g - 
-The s
+the S
 trin
@@ -123,41 +123,110 @@
  to 
-process%0A * @param %7Bstring%7D substr
+get a substring from, may be null%0A * @param %7Bstring%7D separator - the String to search for, may be null
 %0A * 
@@ -247,94 +247,287 @@
 ng%7D 
-return
+the
  sub
- 
 string
-, empty if not found%0A * %0A * @example%0A * %0A * after(%22abc%22, %22a%22) === %22bc
+ after the first occurrence of the separator%0A * %0A * @example%0A * %0A * after(null, *)      = null%0A * after(%22%22, *)        = %22%22%0A * after(*, null)      = %22%22%0A * after(%22abc%22, %22a%22)   = %22bc%22%0A * after(%22abcba%22, %22b%22) = %22cba%22%0A * after(%22abc%22, %22c%22)   = %22%22%0A * after(%22abc%22, %22d%22)   = %22
 %22%0A *
@@ -545,17 +545,20 @@
 %22, %22
-x
 %22) 
-=== %22
+   = %22abc
 %22%0A *
@@ -604,30 +604,84 @@
 g, s
-ubstr) %7B%0A    var start
+eparator) %7B%0A    if (string == null) %7B%0A        return null;%0A    %7D%0A    var pos
  = s
@@ -695,20 +695,23 @@
 ndexOf(s
-ubst
+eparato
 r);%0A    
@@ -714,21 +714,19 @@
     if (
-start
+pos
  !== -1)
@@ -765,20 +765,23 @@
 tart + s
-ubst
+eparato
 r.length

Update after.js