I created an analysis showing the percentage of free space on my computers but the “%” symbol is showing like a check box, this is the message that I’m trying to display.
(name of it &" - "& (total space of it / 1024 / 1024 / 1024) as string &"GB Capacity - "& (free space of it / 1024 / 1024 / 1024) as string & "GB Free Space - "& (free space of it * 100 / total space of it) as string & “%0f space Left.” ) of drive of windows folder
This is how the message shows:
MYWINPC C: - 237GB Capacity - 13GB Free Space - 5 space Left.
Any ideas on how can I fix this?
Inside a Relevance string, the percent symbol is used to represent any special or unprintable characters. The % symbol is always followed by two hexadecimal characters, and the ASCII value for those two digits is used. This is a process called “percent-encoding” and is identical to how Web URLs are handled.
The most common examples are to represent a literal doublequotes, embed it in the string as %22 . To represent a CR/LF combination it’s %0d%0a . And to represent a literal percent symbol, it’s %25
So the end of your string should be "%25 space left"
Thank you @JasonWalker that works!!
1 Like