Hi Similar to the query "get just the file name extension... <https://groups.google.com/forum/#!searchin/reddot-cms-users/render$20tag$20in$20code/reddot-cms-users/YEqWL-AyKqw/Q6eIkygAqgwJ>", how can I do the opposite and get everything BEFORE the dot?
I use an attribute element to output a file size (eg 123.45KB) but want to output as an integer (eg 123KB). I thought <%!! Escape:Text(<%att_size%>).Substring(0,Escape:Text(<%att_size%>).IndexOf(.)) !!%> KB) would start and 0 and cut off at the decimal point, but it doesn't. Any ideas, either to take the first part before the point or just convert to integer? Thanks Neil -- You received this message because you are subscribed to the Google Groups "RedDot CMS Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to reddot-cms-users+unsubscr...@googlegroups.com. To post to this group, send email to reddot-cms-users@googlegroups.com. Visit this group at http://groups.google.com/group/reddot-cms-users. For more options, visit https://groups.google.com/d/optout.