mirror of
https://github.com/twiglet/cs2j.git
synced 2025-01-18 13:15:17 +01:00
add a split option for splitting on an array of strings
This commit is contained in:
parent
c0187d15da
commit
90a3461a27
@ -418,6 +418,24 @@
|
||||
<Name>Split</Name>
|
||||
<Return>System.String[]</Return>
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports>
|
||||
<Import>CS2JNet.System.StringSupport</Import>
|
||||
</Imports>
|
||||
<Java>StringSupport.Split(${this}, ${ss}, ${options})</Java>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.String[]</Type>
|
||||
<Name>ss</Name>
|
||||
</Param>
|
||||
<Param>
|
||||
<Type>System.StringSplitOptions</Type>
|
||||
<Name>options</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Name>Split</Name>
|
||||
<Return>System.String[]</Return>
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports />
|
||||
<Java>${this:16}.startsWith(${arg})</Java>
|
||||
|
Loading…
x
Reference in New Issue
Block a user