|
Microsoft® Visual Basic® Scripting Edition Left Function |
| Language Reference |
|
Returns a specified number of characters from the left side of a string.
Left(string, length)
The Left function syntax has these arguments:
Part Description string String expression from which the leftmost characters are returned. If string contains Null, Null is returned. length Numeric expression indicating how many characters to return. If 0, a zero-length string is returned. If greater than or equal to the number of characters in string, the entire string is returned.
To determine the number of characters in string, use the Len function.
Note Another function (LeftB) is provided for use with byte data contained in a string. Instead of specifying the number of characters to return, length specifies the number of bytes.
© 1996 by Microsoft Corporation.
See also:
| file: /Techref/language/asp/VBS/VBSCRIPT/119.htm, 3KB, , updated: 1996/11/22 11:12, local time: 2012/5/25 06:10,
38.107.179.234:LOG IN |
| ©2012 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://www.piclist.com/techref/language/asp/VBS/VBSCRIPT/119.htm"> Microsoft® Visual Basic® Scripting Edition </A> |
| Did you find what you needed? |
LCD Front Panel Set: $8.99!
- 2x16 LCD HD44780 controller - 4 push buttons - 3 LEDs - 2x12 header |
Robotics nuts!Check out http://users.frii.com/dlc/robotics/projects/botproj.htm from Dennis Clark. This guy ROCKS! He has made (and sells but also releases code, docs, etc...) for a number of cool little robotic modules including whiskers, IR proximity detect and remote control, Sonar proximity detect, PWM, Servo, compass. Most of these use the little PIC 12C508 controller which costs basically nothing and is soooo tiny.The 4 servos, 2400 baud serial servo controller is a wonder of magic and he sells the programmed chip for $8. Wow! |
.