English
Forum

Digit in string

 

Hubert
Binnewies
Hello together...

I knows that this here ne really stupid question is...but if I a String have, from the I very knows that the first characters a Paragraph, How I get The on the simplest in a Integervariable?? (only these a digit)...

thanks Schonmal beforehand...
 
WinXP Prof, XProfan 9.1 Newbie

Ein kluger Kopf sagte mal:
"Nach dem derzeitigen Stand der Technik ist es unmöglich Programme zu schreiben, die fehlerfrei laufen!"
05/14/06  
 




Rolf
Koch

CompileMarkSeparation
declare string$,wert%
cls
string$="5Abcde"
wert%=val(mid$(string$,1,1))
print wert%
waitinpu

and another
CompileMarkSeparation
decimals 0
Declare String$,string2$,worth%,worth2%
Cls
String$="5Abcde"
String2$="8XeFdlsdfsdf"
Wert%=Val(Mid$(String $,1,1))
Wert2%=Val(Mid$(String2$,1,1))
Print worth%+worth2%
Waitinput
 
05/14/06  
 




Frank
Abbing
The question isn't stupid. moreover is Forum here still there.
because The left digit sought becomes, bid itself Left$ on:
CompileMarkSeparation
Declare String$,Wert%
Cls
String$="5Abcde"
Wert%=Val(Left$(String$,1))
Print Wert%
Waitinpu
 
05/14/06  
 




Hubert
Binnewies
means if I me The Solutions ansehe..........

still...the was ne stupid question...had so did i self on it come can...

thanks on you...
 
WinXP Prof, XProfan 9.1 Newbie

Ein kluger Kopf sagte mal:
"Nach dem derzeitigen Stand der Technik ist es unmöglich Programme zu schreiben, die fehlerfrei laufen!"
05/14/06  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

626 Views

Untitledvor 0 min.
J. Strahl06/08/12
Frank Vorholzer05/24/12

Themeninformationen



Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie