LinuXelite
Programmer
Hi
Im looking for a way to do this in C, using a library like string.h or... I dont know. Im a beginner:
in delphi e.g:
Use strutils;
if (AnsiLeftStr(str, 3) = "123" then begin
codes...
end;
if (AnsiRightStr(str, 3) = "456" then begin
codes...
end;
if (AnsiMidStr(str, 3,1) = "3" then begin
codes...
end;
if (AnsiLowerCase(str) = "fdsjfsdjl" then begin
I use GCC and Linux.
Thank you
Frank,
Im looking for a way to do this in C, using a library like string.h or... I dont know. Im a beginner:
in delphi e.g:
Use strutils;
if (AnsiLeftStr(str, 3) = "123" then begin
codes...
end;
if (AnsiRightStr(str, 3) = "456" then begin
codes...
end;
if (AnsiMidStr(str, 3,1) = "3" then begin
codes...
end;
if (AnsiLowerCase(str) = "fdsjfsdjl" then begin
I use GCC and Linux.
Thank you
Frank,