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:<br> | |
− | '''String:''' Mein Test String!<br> | + | '''String: '''Mein Test String!<br> |
− | <nowiki>{{#sub:Mein Test String!|0|-1}}</nowiki><br> | + | '''Code: '''<nowiki>{{#sub:Mein Test String!|0|-1}}</nowiki><br> |
− | {{#sub:Mein Test String!|0|-1}} | + | '''Output: '''{{#sub:Mein Test String!|0|-1}} |
Revision as of 19:08, 21 March 2021
Removes the last character of a string:
String: Mein Test String!
Code: {{#sub:Mein Test String!|0|-1}}
Output: Mein Test String