Oracle Right Function Example In Javascript