refactor remove $ symbol

This commit is contained in:
2021-07-17 21:22:03 -04:00
parent daa9cf8673
commit 8f57501927
2 changed files with 23 additions and 22 deletions

View File

@@ -62,4 +62,11 @@ void set_variable(StringArray *args);
*/
void echo(StringArray *args);
/**
* Remove the $ symbol from a variable name.
* @param original_variable The original variable name.
* @return Returns the string without the $ symbool.
*/
char *remove_variable_symbol(char *original_variable);
#endif