Convert numbers in text to uppercase (unicode) numbers.


If the string variable contains a number, then it returns 1, otherwise it returns 0.

Call:

string result = smallnums(stringstr);

Here:

str is a string variable with a number.


Example.

Write the value "m²" to the string variable.


string str = "Volume, m" + smallnums("2");