Question Printing a percent sign in a string

Tyne

Veteran
Messages
8
Reaction score
1
Points
783
How would I make a percent sign display as a percent sign instead of a period? I've tried escape methods like %% and \%, but no luck.
 
Last edited:

CF4_99

Veteran
Messages
145
Reaction score
56
Points
888
How would I make a percent sign display as a percent sign instead of a period? I've tried escape methods like %% and \%, but no luck.
% Cannot be used as a char. It is seen as invalid and replaced with a period. The only valid chars are:

Code:
ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~:/?#[]@!$&'()*+,;=
 
Top