Arsip: Syntax RIGHT, LEFT dan MID pada delphi 7

more 15 years ago
ari_volker
Hai,,Buat Programmer Delphi,,
Gini Aku mau nanya,,
Misal ada sebuah angka/kata yaitu : 02563584
masalahnya gimana cara mendapatkan misal 6 digit belakangnya saja
terus mendapatkan 4 digit belakangny saja,,
tolong donk kasih tau syntax nya,,
aku dah lupa syntax RIGHT , LEFT dan MID
Thankz before

more 15 years ago
reminder2k1
function RightStr(const AText: AnsiString; const ACount: Integer): AnsiString;

more 15 years ago
ImanD
dilengkapin ah...
uses
StrUtils;
function LeftStr(const AText: AnsiString; const ACount: Integer): AnsiString;
function RightStr(const AText: AnsiString; const ACount: Integer): AnsiString;
function MidStr(const AText: AnsiString; const AStart, ACount: Integer): AnsiString;
@ari_volker
sample-nya sama seperti dirimu menggunakan LEFT, MID, RIGHT
more 15 years ago
ari_volker
Ga bisa bos,,
misal contoh :
edit2.text : = edit1.text + function RigthStr(text4.text, 4)
tapi error

more 15 years ago
ImanD
Edit2.Text:= Edit1.Text+RigthStr(Text4.Text, 4);
coba baca helpnya dulu ya.. disana lengkap lho..
more 15 years ago
ari_volker
@DelphiExpert: errornya apa?[Error] Konversi.pas( 98 ) : Undeclared identifier: 'RightStr'
more ...
- Pages:
- 1
- 2
reply |
Report Obsolete
Last Articles
Last Topic
- PascalTalk #6: (Podcast) Kuliah IT di luar negeri, susah gak sih?
by LuriDarmawan in Tutorial & Community Project more 2 years ago - PascalTalk #5: UX: Research, Design and Engineer
by LuriDarmawan in Tutorial & Community Project more 2 years ago - PascalTalk #4: Obrolan Ringan Seputar IT
by LuriDarmawan in Tutorial & Community Project more 2 years ago - PascalTalk #2: Membuat Sendiri SMART HOME
by LuriDarmawan in Tutorial & Community Project more 2 years ago - PascalTalk #3: RADically Fast and Easy Mobile Apps Development with Delphi
by LuriDarmawan in Tutorial & Community Project more 2 years ago - PascalTalk #1: Pemanfaatan Artificial Intelligence di Masa Covid-19
by LuriDarmawan in Tutorial & Community Project more 2 years ago - Tempat Latihan Posting
by LuriDarmawan in OOT more 3 years ago - Archive
- Looping lagi...
by idhiel in Hal umum tentang Pascal Indonesia more 10 years ago - [ask] koneksi ke ODBC user Dsn saat runtime dengan ado
by halimanh in FireBird more 10 years ago - Validasi menggunakan data tanggal
by mas_kofa in Hal umum tentang Pascal Indonesia more 10 years ago
Random Topic
- exe generate file .INI
by de27de in Hal umum tentang Pascal Indonesia more 13 years ago - RE:TServerSocket & TClientSocket
by Bahrul_power in Tip n Trik Pemrograman more 15 years ago - - Error : EDatabase Error : field ... not found -
by irmains in MySQL more 13 years ago - re active control
by nurez in Hal umum tentang Pascal Indonesia more 17 years ago - Koneksi MySQL Server via Internet
by ahmad in Hal umum tentang Pascal Indonesia more 15 years ago - access: Lock by another user?
by esti_g in Lain-lain more 15 years ago - Error indy telnet
by nunkee in Network, Files, I/O & System more 11 years ago - >>Ask<< Komponen TAB untuk form
by Rogeb_Shewrite in Hal umum tentang Pascal Indonesia more 16 years ago - Tulis Dan Hapus USES
by dcnter in Hal umum tentang Pascal Indonesia more 15 years ago - fungsi sum di freereport
by putukaca in Reporting more 17 years ago