REORG+histo
This commit is contained in:
parent
459f8ea422
commit
6dd76ac1a5
28 changed files with 948 additions and 159 deletions
16
src/isnd/Helpers/ParamHelpers.cs
Normal file
16
src/isnd/Helpers/ParamHelpers.cs
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
namespace isnd.Helpers
|
||||
{
|
||||
public static class ParamHelpers
|
||||
{
|
||||
public static string Optional(ref string prm)
|
||||
{
|
||||
int sopt = prm.IndexOf('/');
|
||||
if (sopt>0)
|
||||
{
|
||||
prm = prm.Substring(0,sopt);
|
||||
return prm.Substring(sopt + 1);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue