how to split a value in kotlin android code example Example: kotlin split by uppercase String s = "thisIsMyString"; String[] r = s.split("(?=\\p{Upper})");