G grifoDev Member Licensed User Feb 18, 2015 #1 Hello dim s as string s = "000989" myKey.PutSimple("001",s) ====> 989 and not 000989 can you help me..? Thank
Hello dim s as string s = "000989" myKey.PutSimple("001",s) ====> 989 and not 000989 can you help me..? Thank
Peter Simpson Expert Licensed User Feb 18, 2015 #2 Does 's' have to be String, why not an Integer? Change from String to Int. Enjoy...
G grifoDev Member Licensed User Feb 18, 2015 #3 I must write the phone number that can begin with "0" :-(
eurojam Well-Known Member Licensed User Feb 18, 2015 #4 you have to handle your string as an object: B4X: Dim s As Object s = "000989" mykey.PutObject("001", s) Log(mykey.GetObject("001"))
you have to handle your string as an object: B4X: Dim s As Object s = "000989" mykey.PutObject("001", s) Log(mykey.GetObject("001"))
eurojam Well-Known Member Licensed User Feb 18, 2015 #6 if it was helpful, then you can give it a *LIKE*