Go to: Synopsis. Return value. Related. MEL examples.
string stringAddPrefix(string $object, string $prefix )
None
Variable Name | Variable Type | Description |
---|---|---|
$object | string | The input string. |
$prefix | string | The string to append to the beginning of $object. |
stringAddPrefix( "a", "" ); ,Result:, a // print( size( stringAddPrefix( "", "" ) ) ); ,Result:, 0 stringAddPrefix( "a", "___" ); ,Result:, ___a //