New topic: String manipulation (deleting spaces in front/end)
<http://forums.realsoftware.com/viewtopic.php?t=47251> Page 1 of 1 [ 1 post ] Previous topic | Next topic Author Message basestring Post subject: String manipulation (deleting spaces in front/end)Posted: Sun Mar 10, 2013 10:19 pm Joined: Sat May 28, 2011 11:28 pm Posts: 128 Location: Beijing China Hi, Question, If have a string say " This is a Test " I need to convert this string to "This is a Test" if I use Replace (string, " ", "") then I will get "ThisisaTest" I could make a loop and find the first character and last character and copy all in between by using the mid function the problem is SPEED I need to do this almost 1.000.000 times for each String field in a database that I'm opening with Binarystream any suggestions? Thanks _________________ For great Music got to my podcast Website!!! http://podcast.1945mf-china.com Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 1 post ] -- Over 1500 classes with 29000 functions in one REALbasic plug-in collection. The Monkeybread Software Realbasic Plugin v9.3. http://www.monkeybreadsoftware.de/realbasic/plugins.shtml [email protected]
