Difference between revisions of "User:DesignerThan/Sandbox/String"
From Pathfinder Wiki
< User:DesignerThan | Sandbox
DesignerThan (talk | contribs) |
DesignerThan (talk | contribs) |
||
Line 1: | Line 1: | ||
===Removes the last character of a string:=== | ===Removes the last character of a string:=== | ||
− | '''String: ''' | + | '''String: '''My Test String!<br> |
− | '''Code: '''<nowiki>{{#sub: | + | '''Code: '''<nowiki>{{#sub:My Test String!|0|-1}}</nowiki><br> |
− | '''Result: '''{{#sub: | + | '''Result: '''{{#sub:My Test String!|0|-1}} |
Latest revision as of 19:08, 21 March 2021
Removes the last character of a string:
String: My Test String!
Code: {{#sub:My Test String!|0|-1}}
Result: My Test String