الفريق العربي للبرمجةأرشيف المنتديات · 2000 – 2023
نسخة أرشيفية للقراءة فقط — التسجيل والمشاركة مغلقان، والمحتوى محفوظ كما كان.

spaces in java files

مغلق
بدأه zaki2007 في 24 فبراير 2007 · 1 رد · 495 مشاهدة · في JavaSE
مشاركة: واتساب X فيسبوك تيليجرام
#1 صاحب الموضوع

Hello everybody, i am having a problem that i am not sure how to solve it, i am reading a text input from a file to the buffer and i wanna do some calculations on it , the file consists of arithmetic operations like add 10 and 20, how do i do that and at the same time keep in mind the space difference between the operands as in: add 10 20 and add 10 30 and so forth,

any guidance will be greatly appreciated

#2

مش عارف اذا كنت انا فهمت سؤالك صح ولا لا بس بيتهيألى انك هتحتاج تسخدم كلاس StringBuffer وده بيقطع الString حسب اللdelemiter اللى انت حددته

StringBuffer

هذا الموضوع مغلق.

مواضيع مشابهة