From: Theodore H. <tw...@do...> - 2000-04-21 12:36:22
|
Is there a convenient way to truncate strings in a manner suitable for user display? For example, a = "abcd" a prints abcd a^2 prints "ab" a~2 prints "a How can I print just ab? (seems like a^2 ought to do this). theo -- PGP: http://www.doc.ic.ac.uk/~twh1/ D5E5 0237 0592 CAF6 E4C4 967F 457E 9583 6AB4 876B |