Skip to content

Commit ebadd57

Browse files
DynamicCalculator: Updated the VariableList expression to ignore empty values
1 parent f0f7e1e commit ebadd57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/Libraries/Adapters/DynamicCalculator/DynamicCalculator.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ public string VariableList
213213
return;
214214

215215
// Build the collection of variable names with the new value
216-
foreach (string token in value.Split(';'))
216+
foreach (string token in value.Split([';'], StringSplitOptions.RemoveEmptyEntries))
217217
AddVariable(token);
218218

219219
// Perform alias replacement on tokens that were not explicitly aliased

0 commit comments

Comments
 (0)