public function toStudlyCase() {
		$input = $this->trim('-_');
		if ($input->isEmpty()) {
			return $input;
		}
		$encoding = $this->encoding;
		return Text::create(preg_replace_callback('/([A-Z-_][a-z0-9]+)/', function ($matches) use ($encoding) {
			return Text::create($matches[0], $encoding)->replace(['-', '_'], '')->toUpperCaseFirst();
		}, $input), $this->encoding)->toUpperCaseFirst();
	}