:
: You could use an array.
:
:
var
: v : array[0..3] of string;
:
: begin
: v[1] := 'PWW';
: v[2] := '304';
: v[3] := '5689';
: writeln(v[1],'-',v[2],'-',v[3]);
: end.
:
: -- spida.
:
are you wanting to extract from the string ?
then using another string variable you can extract the first 3 characters from the left.
ok! I am not at home with my books to give you the pascal code
But I know you can
I shall check when home on Friday
: : Hi!
: : Please help me with my problem.
: : For example I have the string "PWW-304-5689".
: : How can I make, that the variable "v1" will have the value PWW,
: : the "v2" 304 and "v3" 5689?
: : Please post your messages on my email. Thanks.
: :
: : Triangel
: :
:
: