%dw 2.0
import substringAfterLast from dw::core::Strings
---
{
  "a": substringAfterLast(null, "'"),
  "b": substringAfterLast("", "-"),
  "c": substringAfterLast("abc", "b"),
  "d": substringAfterLast("abcba", "b"),
  "e": substringAfterLast("abc", "d"),
  "f": substringAfterLast("abc", ""),
  "g": substringAfterLast("http://google.com/s?=hello", "google.com"),
}