Click to See Complete Forum and Search --> : How can I find out the first few charachters in a string?


November 9th, 1999, 06:50 PM
I need to find the first 5 charachters in a string I tried puting the source string into a String * 5 but it did not work can anyone help???

pluggtnt@softhome.net

whg
November 9th, 1999, 07:09 PM
strName = "123Holdon"
firstfive = left$(strName,5)
or
firstfive = mid$(strName,1,5)

whg