PDA

View Full Version : BAD BUG with THIS FUNCTION: String.TrimLeft



DjArko85
09-23-2006, 09:32 PM
Hi,
I find A VERY BAD BUG WITH THIS FUNCTION:
String.TrimLeft
I create an example for let you see...
Click on the button and you will see that it trim bad the words that begins for example with: 'E' or 'T' but for example, it works perfect if the word begin for example with 'F' or 'S'.

I need this function...

How can I do? Someone know how to solve this bug?

Thank you guys

Intrigued
09-23-2006, 09:34 PM
Just a headsup. There is a Bug forum for this sort of post.

http://www.indigorose.com/forums/forumdisplay.php?f=57

It's easy to miss because it says Suggestions in the bold title'ish text. But, below it also includes bug.



AutoPlay Media Studio 6.0 Suggestions
Post your feature requests and bug reports here.

Dermot
09-23-2006, 11:50 PM
As a work-around you can use this:


result = String.Replace(c, "OPERATOR:;", "")

DjArko85
09-24-2006, 05:56 AM
Hi guys,

Thank you...

I will use that function 'String.Replace' like Dermot told me.
With this one, it works perferct! :)

Anyway, I will put this bug in the suggestion forum...

Thank you again...