darknode 3 Posted December 22, 2013 Report Share Posted December 22, 2013 I have a table being populated by a bunch of variables, but the design is broken when it exceeds the total width allowed.pretty standard issue for most people i'm sure. Is there a way to delete all content in a variable after a set number or characters or replace it with something like ... Quote Link to post Share on other sites
UBotDev 276 Posted December 22, 2013 Report Share Posted December 22, 2013 If I understand you correctly I think you are looking for "$substring" function. Here is a quick example: set(#STRING Long, "long string", "Global") set(#STRING Short, "{$substring(#STRING Long, 0, 4)}...", "Global") 1 Quote Link to post Share on other sites
darknode 3 Posted December 23, 2013 Author Report Share Posted December 23, 2013 If I understand you correctly I think you are looking for "$substring" function. Here is a quick example: set(#STRING Long, "long string", "Global") set(#STRING Short, "{$substring(#STRING Long, 0, 4)}...", "Global") exactly what I was looking for. thank you! Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.