What are Wildcard Characters, Wildcard Ranges?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-08-16 9:43 AM
I have problem with Wildcard Characters and Wildcard Range as bellow
- In the Wildcard Characters i putted: a-z,A-Z,0-9.
- In the Wildcard Ranges i putted: a-z,A-Z,0x20-0xFE,0-9
I can show String and number OK, but only string of string or string of number.
When i show string like "30TH" or number "2020" it can't show
Wildcard Buffer 30th = 10
Wildcard Buffer 2020 = 5
My code like:
oxyDateArr[29]= "30th";
Unicode::strncpy(txtOxyDateBuffer,oxyDateArr[29],strlen(oxyDateArr[29])); // for case 30th
Unicode::snprintf(txtOxyYearBuffer, sizeof(txtOxyYearBuffer), "%d",20+2000);//for case 2020
but screen show: =?1/2? and ?u?
Anyone can help me solve those problem and explain What are Wildcard Characters, Wildcard Ranges?
Thanks Everyone
Solved! Go to Solution.
- Labels:
-
TouchGFX
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-08-17 11:18 PM
Hello,
A Wildcard character can be any character that is supported by the font you are using. So as you mentioned it can be special characters but also letters, numbers, and more if the font has it.
/Alexandre
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-08-17 12:39 AM
Hello,
As the name states, wildcard characters are characters that you will be included in your code because they can be used dynamically in a wildcard.
Wildcard ranges are ranges of characters. This is useful because instead of writing abcdefgh... you just write a-z in the Wildcard range field and this will include all the latin alphabet in your application.
Writing "a-z" in the wildcard characters field, will only include a, - and z.
You can have a look at UI examples available in the Designer such as the Flex Button Example.
/Alexandre
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-08-17 8:13 AM
Hi Alexandre RENOUX
Thanks for respond.
As i know that: wildcard characters are some character like ", . ' !@#$%^&*() "
that is right?
Thanks you so much
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-08-17 11:18 PM
Hello,
A Wildcard character can be any character that is supported by the font you are using. So as you mentioned it can be special characters but also letters, numbers, and more if the font has it.
/Alexandre
