String Utilities

using OpenWaves;

...

var result = text.Truncate(100);  // Returns text truncated to 100 characters or unchanged text if it is not longer then 100 characters

using OpenWaves;

...

var indexes = text.FindAll("foo");   // Returns indexes of all occurrences of "foo" string in the text

Last edited Aug 23, 2011 at 11:39 AM by mgrzyb, version 1

Comments

No comments yet.