Get("quoted", Param1);
Posted: 21 Feb 2024 14:39
Would it make sense to have a get command function for obtaining a string in quotes that part of a larger string. Yes, I know it can be done in other ways, but it would seem to have some value in simply being able to:
So, the new get function would be:
It would be easier than using trim and un-quoting here. Though there are numerous ways to accomplish this (e.g., gettoken, regex, etc)
$list_CEA_script = CEA(1,_-2); // load "Session Manager";So, the new get function would be:
$list_CEA_script = get("quoted", $list_CEA_script); // resulting in Session Manager with no quotesIt would be easier than using trim and un-quoting here. Though there are numerous ways to accomplish this (e.g., gettoken, regex, etc)
$list_CEA_script = quote(trim($list_CEA_script,"load ;"),1);