Navigation: thinBasic Modules > Core > String handling > LeftAndRight$ |
|
Description
Return a portion of a string taking its the left and right part.
Syntax
s = LeftAndRight$(StringExpression, NumberOfBytesFromLeft, NumberOfBytesFromRight)
Returns
String
Parameters
Name |
Type |
Optional |
Meaning |
StringExpression |
String |
No |
Original string from which portion will be extracted |
NumberOfBytesFromLeft |
Number |
No |
Number of bytes to take from left side of the string |
NumberOfBytesFromRight |
Number |
No |
Number of bytes to take from right side of the string |
Remarks
Restrictions
See also
String Handling, MID$, LEFT$, RIGHT$,
Examples
© 2004-2008 thinBasic. All rights reserved. | Version 1.7.0.0 | Web Site: http://www.thinbasic.com |