Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  How can I set the operand of an if function to a blank space character?
« previous next »
  • Print
Pages: [1]

Author Topic: How can I set the operand of an if function to a blank space character?  (Read 106 times)

Offline Dook

  • Member
  • *
  • Posts: 7
    • D00k.net
How can I set the operand of an if function to a blank space character?
« on: December 31, 2022, 12:17:55 PM »
I'm trying to use the %ss tag in an if tag to detect if a string of text has a blank space at a specified position, however I can't seem to find out how to set the operand of the if statement to a space, the following fails
Code: [Select]
%?if(%ss(14, 14, %it) ,=,  )<%Vd(true)|%Vd(false)>
%?if(%ss(14, 14, %it) ,=, % )<%Vd(wordbreak)|%Vd(nobreak)>

Does anyone know what the correct way to do this is? If it's even possible.
« Last Edit: January 01, 2023, 07:38:19 AM by Dook »
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  How can I set the operand of an if function to a blank space character?
 

  • SMF 2.0.19 | SMF © 2021, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.082 seconds with 21 queries.