StormByte C++ Library: System module 1.0.1.9999
StormByte-System is the C++26 process and environment module of the StormByte suite.
Loading...
Searching...
No Matches
Static Public Member Functions | List of all members
StormByte::System::Variable Class Reference

Environment variable expansion helpers. More...

#include <variable.hxx>

Static Public Member Functions

static std::string Expand (const std::string &str)
 Expand environment variables in str.
 

Detailed Description

Environment variable expansion helpers.

Windows: ExpandEnvironmentStrings. UNIX: expand ~ to the home path.

Member Function Documentation

◆ Expand()

static std::string StormByte::System::Variable::Expand ( const std::string &  str)
static

Expand environment variables in str.

Parameters
strInput string.
Returns
Expanded string.

The documentation for this class was generated from the following file: