🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #11069

Re: JTextfield substring

#11069
From: Hakan UNLU
Date: Tue, 13 Jul 1999 00:00
23 lines
1277 bytes
why not use

myString.substring(myString.length() - n)

where n is the number of characters you want.

--
Hakan UNLU
Hitit Computer Services
-------------------------------------------------------------
Visit my virtual bookstore at
http://surf.to/hakan-books
------------------------------------------------------------
Yasser <ymsherif@cs.twsu.edu> wrote in message
news:376EC3B4.CEFFDD0@cs.twsu.edu...
> Wanted to know if there is a function that can return to me part of a
> string entered in a JTextfield. substring(start pos,end pos) reads a
> string from the starting position to the ending position ... in my case
> wanted to read the string from its ending position to a specified number
> of characters..
>
> yasser
>
Technical Details
Message-ID: <7mg3kl$t415@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <376EC3B4.CEFFDD0@cs.twsu.edu>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,5c1fc6a6fbec69de
X-Google-Attributes: gid111d45,public
From: "Hakan UNLU" <hunlu@yahoo.com>
Subject: Re: JTextfield substring
Date: 1999/07/13
Message-ID: <7mg3kl$t415@forums.borland.com>
X-Deja-AN: 500626903
References: <376EC3B4.CEFFDD0@cs.twsu.edu>
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211
Organization: Another Netscape Collabra Server User
X-MSMail-Priority: Normal
Newsgroups: borland.public.jbuilder.java.swing