dashToSeparator() 공개 정적인 메소드

Method to convert the string from dash to separator format
public static dashToSeparator ( string $string, string $sep = DIRECTORY_SEPARATOR ) : string
$string string
$sep string
리턴 string
예제 #1
0
 public function testDashToSeparator()
 {
     $this->assertEquals('hello' . DIRECTORY_SEPARATOR . 'world', String::dashToSeparator('hello-world'));
 }