I am very beginner to android and Basic4Android development, I am trying to get rid of a problem I am facing regarding how to replace some specific numbers and text in an array:
I am trying to do something like:
Dim a_arabic(12), arabic_num(10), num_text, num_num, number, number4 As String
a_arabic = Array As String("يناير", "فبراير", "مارس", "أبريل", "مايو", "يونيو", "يوليو", "أغسطس", "سبتمبر", "أكتوبر", "نوفمبر", "ديسمبر")
arabic_num = Array As String ("٠", "١", "٢", "٣", "٤", "٥", "٦", "٧", "٧", "٩")
number = 3
num_text = number.Replace(number, a_arabic)
Here what I want; it should get given number from 1-12 and replace it with the value of a_arabic array in that number.
-----------------
number4 = 3214
num_num = number4.Replace(number4, arabic_num)
Here what i want; it should replace all numbers with there respected numbers from the arabic_num array
Please give me the correct way to achieve what I am looking for.
Thanks
I am trying to do something like:
Dim a_arabic(12), arabic_num(10), num_text, num_num, number, number4 As String
a_arabic = Array As String("يناير", "فبراير", "مارس", "أبريل", "مايو", "يونيو", "يوليو", "أغسطس", "سبتمبر", "أكتوبر", "نوفمبر", "ديسمبر")
arabic_num = Array As String ("٠", "١", "٢", "٣", "٤", "٥", "٦", "٧", "٧", "٩")
number = 3
num_text = number.Replace(number, a_arabic)
Here what I want; it should get given number from 1-12 and replace it with the value of a_arabic array in that number.
-----------------
number4 = 3214
num_num = number4.Replace(number4, arabic_num)
Here what i want; it should replace all numbers with there respected numbers from the arabic_num array
Please give me the correct way to achieve what I am looking for.
Thanks