Let\'s say I have this string:
val mainString: String = "AAA.BBB"
And now I define two children strings:
val firstSt