Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Cetin Basoz
  Where is Cetin Basoz?
 Izmir
 Turkey
 Cetin Basoz
 To: margie
  
 
 
 margie
 Tags
Subject: RE: string problem
Thread ID: 188592 Message ID: 188888 # Views: 1 # Ratings: 0
Version: Visual FoxPro 7 Category: Forms
Date: Tuesday, August 12, 2008 12:38:26 PM         
   


> Hi experts,
>
> I need help on how to return the integer inputted in a textbox. If the user inputs like this "001A00", it should get the 001 as a string. How to do this?
>
> TIA...
>
> Deuteronomy 29:29 The secret things belong to the Lord our God, but the things revealed belong to us and to our children forever, that we may do all the words of this law.

lcNumber = "001A00"
? RIGHT(LTRIM(STR(VAL("1"+m.lcnumber))),LOG10(VAL("1"+m.lcnumber)))


Cetin Basoz

ENTIRE THREAD

string problem Posted by tulips @ 8/11/2008 2:17:19 AM
RE: string problem Posted by Jun Tangunan @ 8/11/2008 2:26:51 AM
RE: string problem Posted by tulips @ 8/11/2008 2:30:10 AM
RE: string problem Posted by Jun Tangunan @ 8/11/2008 2:38:51 AM
RE: string problem Posted by tulips @ 8/11/2008 2:50:00 AM
RE: string problem Posted by tulips @ 8/11/2008 3:35:43 AM
RE: string problem Posted by Glenn Villar @ 8/11/2008 3:30:24 AM
RE: string problem Posted by tulips @ 8/11/2008 3:57:44 PM
RE: string problem Posted by Glenn Villar @ 8/12/2008 6:07:16 AM
RE: string problem Posted by Koen Piller @ 8/12/2008 8:51:17 PM
RE: string problem Posted by Glenn Villar @ 8/13/2008 3:11:46 AM
RE: string problem Posted by Cetin Basoz @ 8/12/2008 12:38:26 PM
RE: string problem Posted by Jim Denney @ 8/12/2008 7:26:47 PM
RE: string problem Posted by Jun Tangunan @ 8/13/2008 12:41:55 AM