🔒 Closed Data encoder masters pahelp

Status
Not open for further replies.

Collapse

Forum Veteran
1696432498651.webp

pahelp po kung pano matanggal yung nasa right side? need ko lang po mauha yung first 10 numbers. thank you!
 
Hello! To remove the first 10 numbers from the right side of a string, you can use string manipulation methods in most programming languages. Here's an example in Python:

Python:
string = "12345678901234567890"
new_string = string[:-10]
print(new_string)

In this code, we define a string called string with a value of "12345678901234567890". By using the slicing operator [:-10], we remove the last 10 characters from the string. The resulting string, new_string, will be "1234567890".

You can replace the value of string with your own string to remove the first 10 numbers from the right side.

If you're using a different programming language, let me know, and I can provide you with the appropriate code snippet.
 
can you be more specific ts? what do you mean
1696053578921-gif.2768268
 
Status
Not open for further replies.

About this Thread

  • 4
    Replies
  • 490
    Views
  • 3
    Participants
Last reply from:
Collapse

Trending Topics

Online now

Members online
1,308
Guests online
8,685
Total visitors
9,993

Forum statistics

Threads
2,342,031
Posts
29,326,169
Members
1,112,991
Latest member
ismaelavier
Back
Top