xbl12
Programmer
- Dec 12, 2006
- 66
Hi;
if i got some strings as following
str1="asdfghjjjjjkkk";
str2="jhdkjfhaskjhfdkjsahdfhasfsdfdk.....";
str3="gf";
then i want the above just keep the first front 3 letters and then add the ".." to the end of the string
str1="asd..";
str2="jhd..";
str3="gf";
Would any one tell me how i can do that, please, Thanks
if i got some strings as following
str1="asdfghjjjjjkkk";
str2="jhdkjfhaskjhfdkjsahdfhasfsdfdk.....";
str3="gf";
then i want the above just keep the first front 3 letters and then add the ".." to the end of the string
str1="asd..";
str2="jhd..";
str3="gf";
Would any one tell me how i can do that, please, Thanks