עבור לתוכן
View in the app

A better way to browse. Learn more.

HWzone

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

איך אני מפריד תווים ב- C# ?

Featured Replies

פורסם

נגיד אני רוצה להוציא את כל הפסיקים אז

שלום, מה נשמע ? = שלום מה נשמע ?

מי שמיתעניין אני מנסה ליצור תוכנה להקלדה עיוורת,ביינתים כל התוכנות שעברתי היו על הפנים..

פורסם

תשתמש ב Trim משהו כזה

String output = input.Trim(new char[] {','});

פורסם

לא יעבוד, Trim מוריד רק דברים מתחילת המחרוזת או מסופה.

צריך להשתמש ב-Replace, ככה:

String output = input.Replace(",", "");

פורסם

בעקרון יש גם פקודה שמוציאה תו או מחרוזת באורך מסויים החל מאינדקס תו:

myStr.Remove(startIndex, charCount);

ואם משתמשים בה בשילוב של IndexOf:

myStr.Remove(myStr.IndexOf(","), 1)

אבל הפתרון של שניצל יותר נוח.

פורסם

ואת זה צריך לעשות מספר פעמים(אם יש יותר מפסיק אחד).

ארכיון

דיון זה הועבר לארכיון ולא ניתן להוסיף בו תגובות חדשות.

דיונים חדשים

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.