cancel
Showing results for 
Search instead for 
Did you mean: 
EN
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Efficient way to crop text by length in cm

Hi,

i hope I haven’t missed a function, but I’m looking for a efficient way to crop text by a given length and not by the number of characters, like “strsub”.

Maybe somebody have a better solution.
My actual solution is:

while stw(txt1) >100 do !** 100 is the max lenght of the text
txt1=strsub(txt1,0,_loop)
_loop=_loop-1
endwhile
10 Replies 10
Anonymous
Not applicable
No, I'm not in Graphisoft Product Management. I'm not responsible for the library.
Only local distributor for Berlin.

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!