Skip to content
Snippets Groups Projects
Commit 7f85f69a authored by EckBalu's avatar EckBalu
Browse files

Calculations added

parent 9774d0e7
No related branches found
No related tags found
1 merge request!1Javaimpl
package logic
public class Calculations {
public static fun strSlice(str: String) : ArrayList<Int> {
val arraylist = ArrayList<Integer>()
for (i: Int; i < str.length; i++) {
if(str[i] < '9' && str[i] >= '0')
arraylist.add(str[i] - '0');
}
return arraylist
}
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment