Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

improvements and added OsName to Launcher #671

Merged
merged 4 commits into from Aug 8, 2019
Merged
Changes from 2 commits
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.

Always

Just for now

@@ -275,32 +275,29 @@ public override string ToString()
{
return this;
}

public List<string> Split(char delimiter, string text)
{
List<string> ret = new List<string>();
string temp = "";
for (int i = 0; i < text.Length; i++)
{
if (text[i] == delimiter)
{
ret.Add(temp);
temp = "";
}
else
{
temp += text[i];
}

}
if (temp != "")
{
ret.Add(temp);
}

return ret;

}
{
List<string> ret = new List<string>();
int startPos = 0;
string temp = "";

for (int i = 0; i < text.Length; i++)
{
if (text[i] == delimiter)
{
temp = text.Substring(startPos, text.IndexOf(delimiter) - startPos);

startPos = i + 1;
}
}
if (temp != "")

This comment has been minimized.

Copy link
@tgiphil

tgiphil Aug 7, 2019

Member

Change “” to string.Empty

This comment has been minimized.

Copy link
@furesoft

furesoft Aug 7, 2019

Author Contributor

i did, you can merge the PR

{
ret.Add(temp);
}

return ret;
}

public unsafe string ToUpper()
{
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.