Sorry for using english.
You can use substring to get the only text you want
example:
dim str1 as string
str1 = label1.text 'label1.text which hold the string variable
str1 = str1.substring(0,6) 'U will get 7 character
label1.text = str1 'Assign it to label1.text
原帖由 ekineng 于 7-10-2006 12:29 AM 发表
Sorry for using english.
You can use substring to get the only text you want
example:
dim str1 as string
str1 = label1.text 'label1.text which hold the string variable
str1 = str1.substring(0 ...