Update YooUtility.cs
parent
8ad3ac0407
commit
5325e3a1e9
|
@ -200,9 +200,10 @@ namespace YooAsset
|
||||||
string[] splits = str.Split(separator);
|
string[] splits = str.Split(separator);
|
||||||
foreach (string split in splits)
|
foreach (string split in splits)
|
||||||
{
|
{
|
||||||
if (!String.IsNullOrEmpty(split))
|
string value = split.Trim(); //移除首尾空格
|
||||||
|
if (!String.IsNullOrEmpty(value))
|
||||||
{
|
{
|
||||||
result.Add(split);
|
result.Add(value);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue