## ObjectExt::UnboxStringSafe method


Unboxes string from boxed value.

```cpp
static String System::ObjectExt::UnboxStringSafe(const SmartPtr<Object> &obj)
```


| Parameter | Type | Description |
| --- | --- | --- |
| obj | const SmartPtr\<Object\>\& | Boxed string value. |

### ReturnValue

If **obj** is a boxed string, returns unboxed value, otherwise returns empty string.

## See Also

* Class [String](../../string/)
* Class [SmartPtr](../../smartptr/)
* Class [Object](../../object/)
* Class [ObjectExt](../)
* Namespace [System](../../)
* Library [Aspose.PUB for C++](../../../)
