1.4.2. String::trim

Start felix section to test/stdlib/slrt-1.03.02-0.flx[1 /1 ]
     1: #line 447 "./lpsrc/flx_stdlib_regress.pak"
     2: //Check strings
     3: #import <flx.flxh>
     4: print$ ltrim "hello how are you" "hello"; endl;
     5: print$ ltrim "hello how are you" "goodbye"; endl;
End felix section to test/stdlib/slrt-1.03.02-0.flx[1]
Start data section to test/stdlib/slrt-1.03.02-0.expect[1 /1 ]
     1:  how are you
     2: hello how are you
End data section to test/stdlib/slrt-1.03.02-0.expect[1]
Start felix section to test/stdlib/slrt-1.03.02-1.flx[1 /1 ]
     1: #line 461 "./lpsrc/flx_stdlib_regress.pak"
     2: //Check strings
     3: #import <flx.flxh>
     4: print$ rtrim "hello how are you" "you"; endl;
     5: print$ rtrim "hello how are you" "me"; endl;
     6: 
End felix section to test/stdlib/slrt-1.03.02-1.flx[1]
Start data section to test/stdlib/slrt-1.03.02-1.expect[1 /1 ]
     1: hello how are
     2: hello how are you
End data section to test/stdlib/slrt-1.03.02-1.expect[1]
Start felix section to test/stdlib/slrt-1.03.02-2.flx[1 /1 ]
     1: #line 474 "./lpsrc/flx_stdlib_regress.pak"
     2: //Check strings
     3: #import <flx.flxh>
     4: print$ trim "hello how are you" "me"; endl;
     5: print$ trim "hello how are you" "hello"; endl;
     6: print$ trim "hello how are you" "you"; endl;
     7: 
     8: print$ trim "hello how are hello" "hello"; endl;
     9: print$ trim "hello how are hello" "goodbye"; endl;
End felix section to test/stdlib/slrt-1.03.02-2.flx[1]
Start data section to test/stdlib/slrt-1.03.02-2.expect[1 /1 ]
     1: hello how are you
     2:  how are you
     3: hello how are
     4:  how are
     5: hello how are hello
End data section to test/stdlib/slrt-1.03.02-2.expect[1]